-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from aiarena/revert-use-of-host-network
Revert use of host network
- Loading branch information
Showing
2 changed files
with
9 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,46 @@ | ||
version: "3.9" | ||
services: | ||
sc2_controller: | ||
network_mode: host | ||
image: aiarena/arenaclient-sc2:v0.4.3 | ||
environment: | ||
- "ACSC2_PORT=8083" | ||
- "ACSC2_PROXY_HOST=127.0.0.1" | ||
- "ACSC2_PROXY_HOST=proxy_controller" | ||
volumes: | ||
- "./logs:/logs" # a sc2_controller folder will be created in the logs folder | ||
- "./logs/sc2_controller:/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.4.3 | ||
volumes: | ||
- "./bots:/bots" | ||
- "./logs/bot_controller1:/logs" | ||
environment: | ||
- "ACBOT_PORT=8081" | ||
- "ACBOT_PROXY_HOST=127.0.0.1" | ||
- "ACBOT_PROXY_HOST=proxy_controller" | ||
|
||
bot_controller2: | ||
network_mode: host | ||
image: aiarena/arenaclient-bot:v0.4.3 | ||
volumes: | ||
- "./bots:/bots" | ||
- "./logs/bot_controller2:/logs" | ||
environment: | ||
- "ACBOT_PORT=8082" | ||
- "ACBOT_PROXY_HOST=127.0.0.1" | ||
- "ACBOT_PROXY_HOST=proxy_controller" | ||
|
||
proxy_controller: | ||
network_mode: host | ||
image: aiarena/arenaclient-proxy:v0.4.3 | ||
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" | ||
- "ACPROXY_BOT_CONT_1_HOST=bot_controller1" | ||
- "ACPROXY_BOT_CONT_2_HOST=bot_controller2" | ||
- "ACPROXY_SC2_CONT_HOST=sc2_controller" | ||
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 | ||
- "./logs:/logs" # a proxy_controller folder will be created in the logs folder |