version: "3.7"

services:
  app_proxy:
    environment:
      APP_HOST: mainsail_web_1
      APP_PORT: 80
  web:
    image: ghcr.io/mainsail-crew/mainsail:v2.14.0@sha256:fc83a9104b9b87e0779f85dfaff2e68dc33824cfae3d0a7ae602dddbd062d1d1
    restart: on-failure
    stop_grace_period: 1m
    volumes:
      - ${APP_DATA_DIR}/data/config.json:/usr/share/nginx/html/config.json:ro
