Updated repo to use docker-compose. Updated debian version due to EOL of previous one

This commit is contained in:
2026-02-13 22:48:45 +01:00
parent 3afac4db07
commit ba052e0576
30 changed files with 487 additions and 1001 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
services:
halflife:
build: .
container_name: halflife-server
restart: unless-stopped
ports:
- "27015:27015/tcp"
- "27015:27015/udp"
environment:
- SERVER_NAME=${SERVER_NAME:-Half-Life Crossfire Server}
- MAX_PLAYERS=${MAX_PLAYERS:-16}
- SERVER_PASSWORD=${SERVER_PASSWORD:-}
- RCON_PASSWORD=${RCON_PASSWORD:-changeme}
- WELCOME_MESSAGE=${WELCOME_MESSAGE:-Welcome to Crossfire! Fight until the last player stands!}
- STEAM_0AUTH=1
# Uncomment to persist server data (logs, stats, etc)
# volumes:
# - ./server_data:/hlds/valve
stdin_open: true
tty: true