-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose-host-network.yml
50 lines (47 loc) · 1.64 KB
/
docker-compose-host-network.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
version: "3.9"
services:
sc2_controller:
network_mode: host
image: aiarena/arenaclient-sc2:v0.6.4
environment:
- "ACSC2_PORT=8083"
- "ACSC2_PROXY_HOST=127.0.0.1"
volumes:
- "./logs:/logs" # a sc2_controller folder will be created in the logs folder
# SC2 Maps Path
# Set this as "- PATH_TO_YOUR_MAPS_FOLDER:/root/StarCraftII/maps"
- C:\Program Files (x86)\StarCraft II\Maps:/root/StarCraftII/maps # Standard windows SC2 maps path
# - ./maps:/root/StarCraftII/maps # Local maps folder
# - ~/StarCraftII/maps:/root/StarCraftII/maps # Relatively standard linux SC2 maps path
bot_controller1:
network_mode: host
image: aiarena/arenaclient-bot:v0.6.4
volumes:
- "./bots:/bots"
- "./logs/bot_controller1:/logs"
environment:
- "ACBOT_PORT=8081"
- "ACBOT_PROXY_HOST=127.0.0.1"
bot_controller2:
network_mode: host
image: aiarena/arenaclient-bot:v0.6.4
volumes:
- "./bots:/bots"
- "./logs/bot_controller2:/logs"
environment:
- "ACBOT_PORT=8082"
- "ACBOT_PROXY_HOST=127.0.0.1"
proxy_controller:
network_mode: host
image: aiarena/arenaclient-proxy:v0.6.4
environment:
- "ACPROXY_PORT=8080"
- "ACPROXY_BOT_CONT_1_HOST=127.0.0.1"
- "ACPROXY_BOT_CONT_2_HOST=127.0.0.1"
- "ACPROXY_SC2_CONT_HOST=127.0.0.1"
volumes:
- "./matches:/app/matches"
- "./config.toml:/app/config.toml"
- "./results.json:/app/results.json"
- "./replays:/replays"
- "./logs:/logs" # a proxy_controller folder will be created in the logs folder