-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (34 loc) · 1.03 KB
/
docker-compose.yml
File metadata and controls
34 lines (34 loc) · 1.03 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
---
version: "3.7"
services:
devserver:
image: fortressonesv:latest
stdin_open: true
tty: true
command: |
-ip "${FO_IP}"
+set hostname "${FO_HOSTNAME}"
+set rcon_password "${FO_RCON_PASSWORD}"
+set sv_serverip "${FO_IP}"
+localinfo adminpwd "${FO_ADMINPWD}"
+localinfo allowpracspawns 1
+localinfo discord_channel_id "${FO_DISCORD_CHANNEL_ID}"
+localinfo demo_files_address "${FO_DEMO_FILES_ADDRESS}/${FO_REGION}"
+localinfo stats_files_address "${FO_STATS_FILES_ADDRESS}/${FO_REGION}"
+localinfo backend_address "${FO_BACKEND_ADDRESS}"
+set sv_public 0
+set sv_cheats 1
+set sv_csqcdebug 1
+exec fo_pubmode.cfg
+map 2fort5r
ports:
- "27500:27500/udp"
volumes:
- type: bind
source: "${FO_DEV_DATS_PATH}"
target: /fortressonesv/fortress/dats/
- type: bind
source: "${FO_DEV_ASSETS_PATH}"
target: /fortressonesv/fortress/assets/
extra_hosts:
- "host.docker.internal:host-gateway"