services: cssds: image: registry.ntwl.xyz/megastructure-surf build: dockerfile: cssds.dockerfile context: ./etc user: "1000:1000" env_file: - .env # command: sleep 5000000 network_mode: host ports: - "27015:27015" - "27015:27015/udp" - "27020:27020" volumes: - ./etc:/home/steam/etc - ./data/cssds:/home/steam/cssds - tf2ds:/home/steam/tf2ds db: image: mariadb:12 restart: always ports: - "3306:3306" env_file: - .env volumes: - ./etc/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d mapsdl: image: registry.ntwl.xyz/megastructure-surf-mapsdl build: context: ./src/mapsdl dockerfile: Dockerfile volumes: # Mount credentials (read-only) - ./src/mapsdl/credentials:/app/credentials:ro # Mount maps directory (read-write) - ./data/cssds/cstrike/maps:/maps environment: - MAPS_DIR=/maps - TEMP_DIR=/tmp/mapsdl - GOOGLE_APPLICATION_CREDENTIALS=/app/credentials/service-account.json # Don't start automatically with docker-compose up profiles: - tools # Run once and exit restart: "no" volumes: tf2ds: