Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

rafaelrabaco/watchtower-ecr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

WatchTower ECR

A docker image based on v2tec/watchtower for use with AWS ECR.

Docker Pulls Docker Stars

Usage

Run the container with the following command:

docker run -d \
 --name watchtower \
 -v /var/run/docker.sock:/var/run/docker.sock \
 -v /path/to/docker-config.json:/config.json \
 -e "AWS_ACCESS_KEY_ID=<ACCESS_KEY_ID>" \
 -e "AWS_SECRET_ACCESS_KEY=<SECRET_ACCESS_KEY>" \
 rabaco/watchtower-ecr:latest --interval 45 --cleanup

If you prefer, you can use the docker-compose.yml

version: '3.2'
services:
 my-service:
 image: <id>.dkr.ecr.<region>.amazonaws.com/my-image:latest
 watchtower:
 image: rabaco/watchtower-ecr:latest
 volumes:
 - /var/run/docker.sock:/var/run/docker.sock
 - /path/to/docker-config.json:/config.json
 environment:
 AWS_ACCESS_KEY_ID: <ACCESS_KEY_ID>
 AWS_SECRET_ACCESS_KEY: <SECRET_ACCESS_KEY>
 command: --interval 45 --cleanup

About

🐳 A Docker image based on v2tec/watchtower for use with AWS ECR.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /