version: "3.8" services: nginx: image: nginx:alpine container_name: novalon-nginx restart: unless-stopped ports: - "80:80" - "443:443" volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro - ./ssl:/etc/nginx/ssl:ro - ./logs:/var/log/nginx - ../certbot:/var/www/certbot networks: - novalon-network networks: novalon-network: driver: bridge external: true