services:
  nginx:
    image: nginx:1.27-alpine
    container_name: example-com-nginx
    restart: unless-stopped
    ports:
      - "80:80"
    volumes:
      - /opt/1panel/www/sites/example.com/index:/usr/share/nginx/html:ro
      - ./nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro
