mirror of
https://github.com/fruworg/cstrike.git
synced 2025-08-17 22:01:13 +03:00
Compare commits
6 Commits
9452c255bb
...
main
Author | SHA1 | Date | |
---|---|---|---|
ca0d84437e | |||
7cffa3cb4a | |||
2553b83902 | |||
a8320458b8 | |||
c5b897d39c | |||
2f4a19b9fc |
@@ -5,7 +5,7 @@
|
|||||||
```
|
```
|
||||||
mkdir /opt/cstrike
|
mkdir /opt/cstrike
|
||||||
cd /opt/cstrike
|
cd /opt/cstrike
|
||||||
git clone github.com/fruworg/cstrike .
|
git clone https://github.com/fruworg/cstrike .
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -13,6 +13,6 @@ docker compose up -d
|
|||||||
```
|
```
|
||||||
mkdir /opt/cstrike
|
mkdir /opt/cstrike
|
||||||
cd /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
|
docker build . --platform=linux/386 -t cstrike
|
||||||
```
|
```
|
||||||
|
14
compose.yml
14
compose.yml
@@ -1,26 +1,22 @@
|
|||||||
services:
|
services:
|
||||||
cstrike:
|
cstrike:
|
||||||
container_name: cstrike
|
|
||||||
image: fruworg/cstrike
|
image: fruworg/cstrike
|
||||||
|
container_name: cstrike
|
||||||
|
hostname: cstrike
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: >
|
command: >
|
||||||
./hlds_run -game cstrike -strictportbind -ip 0.0.0.0 -port 27015
|
./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
|
+sv_lan +map de_dust2 -maxplayers 10 +localinfo amxx_cfg cstrike/addons/amxmodx
|
||||||
networks:
|
network_mode: host
|
||||||
- cstrike
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./configs/motd.txt:/hlds/cstrike/motd.txt
|
- ./configs/motd.txt:/hlds/cstrike/motd.txt
|
||||||
- ./configs/server.cfg:/hlds/cstrike/server.cfg
|
- ./configs/server.cfg:/hlds/cstrike/server.cfg
|
||||||
- ./configs/config.cfg:/hlds/cstrike/config.cfg
|
- ./configs/config.cfg:/hlds/cstrike/config.cfg
|
||||||
- ./configs/game.cfg:/hlds/cstrike/game.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/game_init.cfg:/hlds/cstrike/game_init.cfg
|
||||||
- ./configs/listip.cfg:/hlds/cstrike/listip.cfg
|
- ./configs/listip.cfg:/hlds/cstrike/listip.cfg
|
||||||
- ./configs/banned.cfg:/hlds/cstrike/banned.cfg
|
- ./configs/banned.cfg:/hlds/cstrike/banned.cfg
|
||||||
- ./configs/plugins.ini:/hlds/cstrike/addons/metamod/plugins.ini
|
- ./configs/plugins.ini:/hlds/cstrike/addons/metamod/plugins.ini
|
||||||
- ./configs/amxx.cfg:/hlds/cstrike/addons/amxmodx/configs/amxx.cfg
|
- ./configs/amxx.cfg:/hlds/cstrike/addons/amxmodx/configs/amxx.cfg
|
||||||
- ./configs/users.ini:/hlds/cstrike/addons/amxmodx/configs/users.ini
|
- ./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
6
configs/mapcycle.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cs_office
|
||||||
|
de_dust2
|
||||||
|
cs_italy
|
||||||
|
de_nuke
|
||||||
|
de_inferno
|
||||||
|
de_train
|
Reference in New Issue
Block a user