Skip to content

Instantly share code, notes, and snippets.

@zimdo
Created April 20, 2017 15:57
Show Gist options
  • Save zimdo/d20728cf3e04f9a66a970839570d0c26 to your computer and use it in GitHub Desktop.
Save zimdo/d20728cf3e04f9a66a970839570d0c26 to your computer and use it in GitHub Desktop.
A docker-compose file for running "rancher-ecr-credentials".
rancher-ecr-credentials:
environment:
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
labels:
io.rancher.container.pull_image: always
io.rancher.container.create_agent: 'true'
io.rancher.container.agent.role: environment
tty: true
image: zimdo/rancher-ecr-credentials:latest
stdin_open: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment