compose.yaml 346 B

12345678910111213
  1. ---
  2. services:
  3. nginx:
  4. image: docker.io/library/nginx:1.26.2-alpine
  5. container_name: nginx
  6. ports:
  7. - 80:80
  8. # (optional) uncomment the line below to enable HTTPS
  9. # - 443:443
  10. volumes:
  11. - ./config/default.conf:/etc/nginx/conf.d/default.conf:ro
  12. - ./data:/usr/share/nginx/html:ro
  13. restart: unless-stopped