-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (28 loc) · 681 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (28 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
services:
watchtower:
environment:
- WATCHTOWER_LABEL_ENABLE=1
- WATCHTOWER_DEBUG=1
- NO_COLOR=1
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/config.json
command: --interval 3600
restart: unless-stopped
sprintf:
image: ghcr.io/yaleman/sprintf:latest
build:
context: .
dockerfile: Dockerfile
labels:
com.centurylinklabs.watchtower.enable: true
ports:
- "127.0.0.1:8090:8000"
restart: unless-stopped
healthcheck:
test: ["CMD", "sprintf-healthcheck"]
interval: 60s
timeout: 2s
retries: 5