version: "3" services: nginx-proxy-manager: container_name: nginx-proxy-manager image: zoeyvid/nginx-proxy-manager restart: always network_mode: host volumes: - "/opt/npm:/data" - "/opt/npm-letsencrypt:/etc/letsencrypt" # Only needed for first time migration from original nginx-proxy-manager to this fork - "/var/www:/var/www" # optional, if you want to use it as webserver for html environment: - "TZ=Europe/Berlin" # - "NGINX_LOG_NOT_FOUND=true" # Allow logging of 404 errors # - "NPM_LISTEN_LOCALHOST=true" # Bind the NPM Dashboard on Port 81 only to localhost