-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 1.34 KB
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (38 loc) · 1.34 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
services:
kyber-server:
image: ghcr.io/armchairdevelopers/kyber-server:latest
container_name: ${CONTAINER_NAME:-kyber_server}
env_file:
- secrets.env
network_mode: "host"
environment:
- KYBER_SERVER_NAME=${SERVER_NAME:-}
- KYBER_SERVER_PASSWORD=${SERVER_PASSWORD:-}
- KYBER_SERVER_MAX_PLAYERS=${SERVER_MAX_PLAYERS:-}
- KYBER_MAP_ROTATION=${SERVER_MAP_ROTATION:-}
- KYBER_SERVER_DESCRIPTION=${SERVER_DESCRIPTION:-}
- KYBER_MODULE_CHANNEL=ver/beta10
- KYBER_LOG_LEVEL=info
# Short-form variables: Only passed to container if defined in .env
- KYBER_MOD_FOLDER
- KYBER_SERVER_PLUGINS_PATH
volumes:
- swbf2_data:/mnt/battlefront
- kyber_mods:/mnt/battlefront/mods
- kyber_plugins:/mnt/plugins
# Mounting ver/10 Kyber.dll
- kyber_module_ver10:/root/.local/share/kyber/module/
# Mount the server logs (will output in same direcory as docker-compose.yml /Logs/)
- ./logs/${CONTAINER_NAME}:/root/.local/share/maxima/wine/prefix/drive_c/users/root/AppData/Roaming/ArmchairDevelopers/Kyber/Logs/
restart: unless-stopped
volumes:
swbf2_data:
external: true
kyber_module_ver10:
external: true
kyber_mods:
external: true
name: ${MOD_VOLUME:-empty_data}
kyber_plugins:
external: true
name: ${PLUGIN_VOLUME:-empty_data}