# A Project Reclaimer master server on its own, in Docker: no game servers # and no game files. Guide: https://projectreclaimer.dev/masters # # Put this file in a folder of its own, next to an empty data/ folder and a # .env file that says where others reach this master: # # MASTER_ORIGIN=http://your-address:49175 # # Then: # # docker compose up -d # docker compose logs -f # # Open port 49175 on TCP and UDP. Update to the newest release: # docker compose pull && docker compose up -d # 0.9's masters and games don't speak to these: see the guide. name: reclaimer-master services: master: # The dedicated server image, which includes the master. Set IMAGE in # .env to stay on one version. image: ${IMAGE:-ghcr.io/projectreclaimer/project-reclaimer-dedicated:latest} restart: unless-stopped command: - project-reclaimer - list-master - --bind - 0.0.0.0:49175 # Its key and the masters it learned (peers.json), kept in ./data. - --key - /server/h3list.key - --data - /server # Where others reach it, named to the masters it swaps listings with. - --origin - ${MASTER_ORIGIN:?Set MASTER_ORIGIN in .env to http://your-address:49175} # The masters it always swaps with: two of the default masters, each # of which holds every listing. - --peer - http://148.251.153.44:44340 - --peer - http://23.159.176.140:44340 # The master stops cleanly on Ctrl+C (SIGINT). stop_signal: SIGINT stop_grace_period: 10s volumes: - ./data:/server # TCP for the Server Browser and other masters, UDP for servers' # registrations, players' introductions and STUN. ports: - "49175:49175/tcp" - "49175:49175/udp" # The image's health check watches dedicated servers, which this # container doesn't run. healthcheck: disable: true security_opt: - no-new-privileges:true logging: driver: json-file options: max-size: 10m max-file: "3"