version: "3.9" networks: appnet: external: true services: proxy: build: context: . dockerfile: DockerFile image: kaveman/node-reverse-proxy:latest container_name: node-reverse-proxy restart: unless-stopped environment: NODE_ENV: "production" ports: # Bind to all interfaces on host - "0.0.0.0:80:80" - "0.0.0.0:443:443" volumes: # Make sure it has access to hosts db and certificates - ./.env:/app/.env:ro networks: - appnet