forked from Andrew-Dickinson/civ5_server_docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml.templ
More file actions
47 lines (47 loc) · 1.55 KB
/
Copy pathdocker-compose.yml.templ
File metadata and controls
47 lines (47 loc) · 1.55 KB
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
services:
service_civ5:
stdin_open: true
tty: true
container_name: "container_civ5"
image: "image_civ5"
build:
context: "./"
args:
- CIV_DATA_ROOT=/home/@CONTAINER_USERNAME@/Games/umu/umu-default/drive_c/users/game/Documents/My Games/Sid Meier's Civilization 5
- CONTAINER_GID=@CONTAINER_GID@
- CONTAINER_UID=@CONTAINER_UID@
- CONTAINER_USERNAME=@CONTAINER_USERNAME@
- DISPLAY=:99
- GE_PROTON_VERSION=latest
- GPU_BUSID=@GPU_BUSID@
- STEAM_DLLS=steamclient.dll tier0_s.dll vstdlib_s.dll
- STEAM_INSTALL_SLEEP_TIMER=120
environment:
- CPU_LIMIT=@CPU_LIMIT@
- DISCORD_WEBHOOK_ID_FILE=/run/secrets/discord_webhook_id
- DISCORD_WEBHOOK_TOKEN_FILE=/run/secrets/discord_webhook_token
- DXVK_FRAME_RATE=2
- GPU_VENDOR=@GPU_VENDOR@
- NTFY_TOPIC_FILE=/run/secrets/ntfy_topic
- TZ=@TIMEZONE@
- VNC_PORT=5900
volumes:
- "@CIVDIR@/civ5game:/home/@CONTAINER_USERNAME@/civ5game"
- "@CIVDIR@/civ5save:/home/@CONTAINER_USERNAME@/Games/umu/umu-default/drive_c/users/@CONTAINER_USERNAME@/Documents/My Games/Sid Meier's Civilization 5"
ports:
- "127.0.0.1:5900:5900/tcp"
- "0.0.0.0:27016:27016/udp"
secrets:
- ntfy_topic
- discord_webhook_id
- discord_webhook_token
privileged: true@GPU_DEVICES@
secrets:
ntfy_topic:
file: ntfy_topic.txt
discord_webhook_id:
file: discord_webhook_id.txt
discord_webhook_token:
file: discord_webhook_token.txt
networks:
network_civ5: {}