version: '3.8' services: web: build: context: . dockerfile: Dockerfile image: my-hugo-app:production ports: - "80:80" restart: unless-stopped environment: - NGINX_PORT=80 volumes: - ./public:/usr/share/nginx/html:ro # Optional, for debugging