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