cstrike/docker-compose.yml

23 lines
869 B
YAML
Raw Normal View History

2023-09-23 11:15:02 +03:00
version: '3.7'
services:
cstrike:
container_name: cstrike
2023-09-23 13:04:32 +03:00
image: fruworg/cstrike:latest
2023-09-23 11:15:02 +03:00
restart: unless-stopped
2023-09-23 12:50:19 +03:00
command: >
./hlds_run -game cstrike -strictportbind -ip 0.0.0.0 -port 27015
+sv_lan 0 +map de_dust2 -maxplayers 16 +localinfo amxx_cfg cstrike/addons/amxmodx
2023-09-23 11:15:02 +03:00
volumes:
- ./configs/motd.txt:/hlds/cstrike/motd.txt
- ./configs/server.cfg:/hlds/cstrike/server.cfg
- ./configs/config.cfg:/hlds/cstrike/config.cfg
- ./configs/game.cfg:/hlds/cstrike/game.cfg
- ./configs/game_init.cfg:/hlds/cstrike/game_init.cfg
- ./configs/listip.cfg:/hlds/cstrike/listip.cfg
- ./configs/banned.cfg:/hlds/cstrike/banned.cfg
- ./configs/plugins.ini:/hlds/cstrike/addons/metamod/plugins.ini
2023-09-23 12:58:17 +03:00
- ./configs/amxx.cfg:/hlds/cstrike/addons/amxmodx/configs/amxx.cfg
2023-09-23 11:15:02 +03:00
ports:
- 27015:27015/udp