# Our tracker image, built from the official Node base and pinned upstream npm package. # Independent of coturn and its development secrets; usable alone on the VPS. name: hellcon-tracker services: tracker: build: context: ./tracker target: runtime image: hellcon-tracker:local init: true restart: "no" ports: - "127.0.0.1:${TRACKER_PORT:-8000}:8000" environment: ANNOUNCE_INTERVAL_SECONDS: "5" ALLOWED_ORIGINS: "${TRACKER_ALLOWED_ORIGINS:-}" TRUSTED_PROXY_IPS: "${TRACKER_TRUSTED_PROXY_IPS:-}" read_only: true cap_drop: [ALL] security_opt: [no-new-privileges:true] mem_limit: 256m cpus: 0.5 pids_limit: 64 logging: driver: json-file options: max-size: "5m" max-file: "2"