name: ${T37_PROJECT:-t37-rct-micropark} services: game: platform: linux/amd64 image: t37-rct-micropark:v1 command: [] environment: MICROPARK_ASSETS_MOUNTED: "1" # Unset means the entrypoint's own default of three tries; a small number # is how the reset between tries is exercised locally. T37_TRIES: "${T37_TRIES:-}" build: context: ./environment dockerfile: Dockerfile ports: - "127.0.0.1:${WEB_PORT:-6086}:6080" volumes: - type: bind source: ${RCT2_ASSETS:?Set RCT2_ASSETS or use scripts/docker.sh} target: /opt/rct2-assets read_only: true bind: create_host_path: false - game-data:/home/rct2/.config/OpenRCT2 - ${T37_ARTIFACTS:-./artifacts}:/artifacts - ${T37_ARTIFACTS:-./artifacts}/logs:/logs tmpfs: - /tmp:size=536870912,mode=1777 shm_size: 512mb stop_grace_period: 15s healthcheck: test: ["CMD", "curl", "-fsS", "http://127.0.0.1:6080/vnc.html"] interval: 10s timeout: 3s retries: 6 start_period: 30s volumes: game-data: