services: homepage: image: nginx:alpine container_name: homepage restart: unless-stopped ports: - "8080:80" volumes: # Mount ONLY the public folder to the Nginx root - ./public:/usr/share/nginx/html:ro - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro networks: - nginx_default networks: nginx_default: external: true