Skip to content

Commit

Permalink
add watchtower service
Browse files Browse the repository at this point in the history
  • Loading branch information
jarosenb committed Dec 10, 2021
1 parent f9ae9fa commit 84a2b1d
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions camino/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
version: '3.8'
version: "3.8"
services:
server:
image: wmatacc/ds-download:deploy
command: gunicorn main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000
command: gunicorn main:app --workers 4 --worker-class
uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000
container_name: ds_download_server
volumes:
- /corral-repl/tacc/NHERI:/corral-repl/tacc/NHERI
labels:
- "com.centurylinklabs.watchtower.enable=true"
logging:
driver: syslog
options:
Expand Down Expand Up @@ -34,4 +37,14 @@ services:
logging:
driver: syslog
options:
tag: ds_download_redis
tag: ds_download_redis

watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30 --label-enable
logging:
driver: syslog
options:
tag: ds_download_redis

0 comments on commit 84a2b1d

Please sign in to comment.