ensl_hlds/docker-compose.yml
Ari Timonen 22d727d33c Use more env vars
Update README.md
Remove makefile
2020-04-05 14:24:27 +00:00

57 lines
No EOL
1.1 KiB
YAML

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
- HLTV_ROTATE=1
env_file:
- '.env.default'