We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53dafce commit 2ea3d58Copy full SHA for 2ea3d58
1 file changed
docker-compose.yml
@@ -1,9 +1,21 @@
1
services:
2
+ watchtower:
3
+ image: containrrr/watchtower
4
+ command:
5
+ - "--label-enable"
6
+ - "--interval"
7
+ - "30"
8
+ - "--rolling-restart"
9
+ volumes:
10
+ - /var/run/docker.sock:/var/run/docker.sock
11
+
12
docktainer:
13
image: ghcr.io/firstdarkdev/docktainer:latest
14
#build: .
15
container_name: "docktainer"
- restart: unless-stopped
16
+ restart: always
17
+ labels:
18
+ - "com.centurylinklabs.watchtower.enable=true"
19
ports:
20
- 80:80
21
- 443:443
0 commit comments