-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.single.yml
40 lines (38 loc) · 1 KB
/
docker-compose.single.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: on-failure
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# These are passed as command-line arguments to the container
command:
- --label-enable
- --include-restarting
- --cleanup
- --interval
- "3600"
archiveteam-warrior1:
image: atdr.meo.ws/archiveteam/warrior-dockerfile
container_name: archiveteam-warrior1
restart: on-failure
ports:
- "8001:8001"
labels:
com.centurylinklabs.watchtower.enable: "true"
logging:
driver: json-file
options:
max-size: "50m"
archiveteam-warrior2:
image: atdr.meo.ws/archiveteam/warrior-dockerfile
container_name: archiveteam-warrior2
restart: on-failure
ports:
- "8002:8001"
labels:
com.centurylinklabs.watchtower.enable: "true"
logging:
driver: json-file
options:
max-size: "50m"