-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.custom-build.yml
53 lines (50 loc) · 1.47 KB
/
docker-compose.custom-build.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
41
42
43
44
45
46
47
48
49
50
51
52
53
services:
updater:
build:
context: .
dockerfile: Dockerfile.updater
container_name: arma3-updater
env_file:
- ./arma3_hc_config.env
volumes:
- ./arma3_hc_config.env:/arma3/arma3_hc_config.env
- arma3_data:/arma3
- arma3_mods:/arma3/steamapps/workshop/content/107410
- arma3_mods_dir:/arma3/mods
command: /bin/bash -c "source /arma3/arma3_hc_config.env && /arma3/start_updater.sh"
restart: "no"
arma3-client-0:
build:
context: .
dockerfile: Dockerfile.client
container_name: arma3-client-0
env_file:
- ./arma3_hc_config.env
volumes:
- ./arma3_hc_config.env:/arma3/arma3_hc_config.env
- arma3_data:/arma3
- arma3_mods:/arma3/steamapps/workshop/content/107410
- arma3_mods_dir:/arma3/mods
- arma3_logs:/logs
command: /bin/bash -c "source /arma3/arma3_hc_config.env && /scripts/start_client.sh"
restart: always
arma3-client-1:
build:
context: .
dockerfile: Dockerfile.client
container_name: arma3-client-1
env_file:
- ./arma3_hc_config.env
volumes:
- ./arma3_hc_config.env:/arma3/arma3_hc_config.env
- arma3_data:/arma3
- arma3_mods:/arma3/steamapps/workshop/content/107410
- arma3_mods_dir:/arma3/mods
- arma3_logs:/logs
command: /bin/bash -c "source /arma3/arma3_hc_config.env && /scripts/start_client.sh"
restart: always
volumes:
arma3_data:
arma3_mods:
arma3_mods_dir:
arma3_logs: