Compare commits

...

6 Commits

Author SHA1 Message Date
ca0d84437e Update compose.yml 2025-08-12 11:27:22 +02:00
7cffa3cb4a Update compose.yml 2025-07-31 00:31:00 +02:00
2553b83902 Update compose.yml 2025-07-31 00:29:59 +02:00
a8320458b8 Create mapcycle.txt 2025-07-31 00:29:40 +02:00
c5b897d39c Update compose.yml 2025-07-31 00:28:44 +02:00
2f4a19b9fc Update README.md 2025-07-31 00:24:19 +02:00
3 changed files with 13 additions and 11 deletions

View File

@@ -5,7 +5,7 @@
```
mkdir /opt/cstrike
cd /opt/cstrike
git clone github.com/fruworg/cstrike .
git clone https://github.com/fruworg/cstrike .
docker compose up -d
```
@@ -13,6 +13,6 @@ docker compose up -d
```
mkdir /opt/cstrike
cd /opt/cstrike
git clone github.com/fruworg/cstrike .
git clone https://github.com/fruworg/cstrike .
docker build . --platform=linux/386 -t cstrike
```

View File

@@ -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
+sv_lan +map de_dust2 -maxplayers 10 +localinfo amxx_cfg cstrike/addons/amxmodx
network_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

6
configs/mapcycle.txt Normal file
View File

@@ -0,0 +1,6 @@
cs_office
de_dust2
cs_italy
de_nuke
de_inferno
de_train