version: "3.8"

services:
  nginx:
    image: nginx:latest
    container_name: nginx
    volumes:
      - /mnt/data/website/html:/usr/share/nginx/html:ro
      - /mnt/data/website/conf.d:/etc/nginx/conf.d:ro
    ports:
      - "28888:80"  # 👈 Expose port 28888 on the host
    networks:
      - web-net
    restart: unless-stopped

networks:
  web-net:
    external: true
