mirror of
https://github.com/ENSL/ensl_hlds.git
synced 2025-01-19 07:01:02 +00:00
modify docker-compose, replace host network mode with ensl_hlds_default, define depends_on, define ports
This commit is contained in:
parent
59a8fc1cee
commit
3f5100294f
1 changed files with 25 additions and 11 deletions
|
@ -1,25 +1,39 @@
|
|||
version: "2"
|
||||
version: "3.0"
|
||||
|
||||
services:
|
||||
hlds:
|
||||
image: ensl/ensl_hlds:latest
|
||||
volumes:
|
||||
- "./logs:/home/steam/hlds/ns/logs"
|
||||
network_mode: "host"
|
||||
- "./logs:/home/steam/hlds/ns/logs"
|
||||
network_mode: "ensl_hlds_default"
|
||||
ports:
|
||||
- 26900:26900
|
||||
- 27016:27016/udp
|
||||
- 27016:27016
|
||||
environment:
|
||||
- HLDS=1
|
||||
- HLDS=1
|
||||
|
||||
hltv:
|
||||
image: ensl/ensl_hlds:latest
|
||||
volumes:
|
||||
- "./demos:/home/steam/hlds/ns/demos"
|
||||
network_mode: "host"
|
||||
- "./demos:/home/steam/hlds/ns/demos"
|
||||
network_mode: "ensl_hlds_default"
|
||||
depends_on:
|
||||
- hlds
|
||||
ports:
|
||||
- 27020:27020
|
||||
environment:
|
||||
- HLTV=1
|
||||
- HLTV=1
|
||||
|
||||
cleaner:
|
||||
image: ensl/ensl_hlds:latest
|
||||
volumes:
|
||||
- "./demos:/home/steam/hlds/ns/demos"
|
||||
- "./logs:/home/steam/hlds/ns/logs"
|
||||
- "./demos:/home/steam/hlds/ns/demos"
|
||||
- "./logs:/home/steam/hlds/ns/logs"
|
||||
network_mode: "ensl_hlds_default"
|
||||
depends_on:
|
||||
- hlds
|
||||
- hltv
|
||||
environment:
|
||||
- HLDS_ROTATE=1
|
||||
- HLTV_ROTATE=1
|
||||
- HLDS_ROTATE=1
|
||||
- HLTV_ROTATE=1
|
Loading…
Reference in a new issue