From c5b897d39c196347d6c51f4cd402ce4be5bb039e Mon Sep 17 00:00:00 2001 From: ruslan Date: Thu, 31 Jul 2025 00:28:44 +0200 Subject: [PATCH] Update compose.yml --- compose.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/compose.yml b/compose.yml index 3bc60a3..53a3e31 100644 --- a/compose.yml +++ b/compose.yml @@ -1,26 +1,22 @@ services: cstrike: - container_name: cstrike image: fruworg/cstrike + container_name: cstrike + hostname: cstrike restart: unless-stopped 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 - networks: - - cstrike + networks_mode: host 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/mapcycle.txt:/hlds/cstrike/mapcycle.txt - ./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 - ./configs/amxx.cfg:/hlds/cstrike/addons/amxmodx/configs/amxx.cfg - ./configs/users.ini:/hlds/cstrike/addons/amxmodx/configs/users.ini - ports: - - 27015:27015/udp -networks: - cstrike: - enable_ipv6: true