community-catalog/templates/ecr/2/docker-compose.yml
Juan Ignacio Donoso 1c326aeb7e templace/ecr: AWS credentials from IAM profile (#217)
This enable support to use credentials resolved from the IAM Instance
Profile if used. The credential are not required anymore
2016-07-26 09:48:48 -07:00

13 lines
388 B
YAML

ecr-updater:
environment:
AWS_ACCESS_KEY_ID: ${aws_access_key_id}
AWS_SECRET_ACCESS_KEY: ${aws_secret_access_key}
AWS_REGION: ${aws_region}
labels:
io.rancher.container.pull_image: always
io.rancher.container.create_agent: 'true'
io.rancher.container.agent.role: environment
tty: true
image: objectpartners/rancher-ecr-credentials:1.1.0
stdin_open: true