# HF Clarke site: static (nginx). The Flask admin sidecar + uploader was
# removed 2026-07-08 — this is now a plain static site.
#
# To apply changes:
#   srv-gw deploy   --project hfclarke   # compose/config changes
#   srv-gw restart  --project hfclarke   # picks up edited files in public/

services:
  app:
    image: nginx:alpine
    container_name: ${PROJECT_NAME}-app
    restart: unless-stopped

    # DO NOT CHANGE - host port is managed by gateway.
    ports:
      - "172.17.0.1:${PORT}:80"

    volumes:
      - ./public:/usr/share/nginx/html:ro
      - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro

    mem_limit: 256m
    cpus: 0.5
