Add docker-compose.yaml

This commit is contained in:
2026-02-18 03:41:56 +00:00
commit 7f0150ad7c

35
docker-compose.yaml Normal file
View File

@@ -0,0 +1,35 @@
services:
vein:
image: johnnyknighten/vein-server:latest
container_name: vein-server
restart: unless-stopped
# VEIN defaults from the container docs
ports:
- "7777:7777/udp"
- "27015:27015/udp" # query/steam port
environment:
TZ: "America/Denver"
# --- Your requested fields ---
VEIN_SERVER_NAME: "Atlaskor's Vein Server"
# Leave blank for public; set for private:
VEIN_SERVER_PASSWORD: "PoopPoop"
# --- Update behavior ---
# Updates the VEIN server files (SteamCMD) when the container starts
UPDATE_ON_BOOT: "True"
VALIDATE_SERVER_FILES: "True" # can set False if you want faster updates
# Optional: set a description shown in listings
VEIN_SERVER_DESCRIPTION: "A VEIN dedicated server"
# Optional scheduled updates (in addition to update-on-boot)
# SCHEDULED_UPDATE: "True"
# UPDATE_CRON: "0 3 * * *" # daily 3am (container-local time)
volumes:
# Persistent server install + saves/config/logs/backups
- ./vein-data/server:/vein-server/server
- ./vein-data/logs:/vein-server/logs
- ./vein-data/backups:/vein-server/backups