forked from goudarziha/archive-team-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.multi.yml
35 lines (34 loc) · 1.01 KB
/
docker-compose.multi.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
services:
watchtower:
image: containrrr/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
restart: on-failure
# The ports are specified this way to avoid collisions. As defined, there are 999 available.
ports:
- "8001-9000:8001"
labels:
com.centurylinklabs.watchtower.enable: "true"
logging:
driver: json-file
options:
max-size: "50m"
environment:
DOWNLOADER: CHANGE_ME_TO_YOUR_DESIRED_USERNAME_ON_LEADERBOARD
SELECTED_PROJECT: "usgovernment"
CONCURRENT_ITEMS: 6
deploy:
mode: replicated
# This will spin up however many warrior replicas you specify
replicas: 6
endpoint_mode: vip