1
0
Fork 0
festoons/cstrike/docker-compose.yml

19 lines
601 B
YAML

services:
HOSTALGIA_ID:
container_name: HOSTALGIA_ID
image: cstrike
user: "7777:7777"
ports:
- "HOSTALGIA_PORT_A:HOSTALGIA_PORT_A/tcp"
- "HOSTALGIA_PORT_A:HOSTALGIA_PORT_A/udp"
volumes:
- ./data/etc/server.cfg:/hlds/cstrike/server.cfg:ro
environment:
- SV_LAN=0
- PORT=HOSTALGIA_PORT_A
entrypoint: ./hlds_run
command: -game cstrike -autoupdate -pingboost 2 -port HOSTALGIA_PORT_A +maxplayers 30 +map de_inferno -ip 0.0.0.0 +ip 0.0.0.0 -tickrate 100 -threads 4 +sv_lan 0
# 2000 is the main server port
# 2001 is the admin interface port