ensl_hlds/docker-compose.yml

57 lines
1.1 KiB
YAML
Raw Normal View History

version: "3.0"
services:
hlds:
image: ensl/ensl_hlds:latest
build:
context: ./
dockerfile: Dockerfile
container_name: "ensl_hlds"
# user: "${UID}:${GID}"
volumes:
- "./logs:/home/steam/hlds/ns/logs"
ports:
- 26900:26900
- 27016:27016
- 27016:27016/udp
environment:
- HLDS=1
env_file:
- '.env.default'
hltv:
image: ensl/ensl_hlds:latest
build:
context: ./
dockerfile: Dockerfile
container_name: "ensl_hltv"
# user: "${UID}:${GID}"
volumes:
- "./demos:/home/steam/hlds/ns/demos"
depends_on:
- hlds
ports:
- 27020:27020
environment:
- HLTV=1
env_file:
- '.env.default'
cleaner:
image: ensl/ensl_hlds:latest
build:
context: ./
dockerfile: Dockerfile
container_name: "ensl_cleaner"
# user: "${UID}:${GID}"
volumes:
- "./demos:/home/steam/hlds/ns/demos"
- "./logs:/home/steam/hlds/ns/logs"
depends_on:
- hlds
- hltv
environment:
- HLDS_ROTATE=1
2020-02-27 21:27:23 +00:00
- HLTV_ROTATE=1
env_file:
- '.env.default'