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" # - "/var/www:/var/www" # optional, if you want to use it as webserver for html/php # - "/opt/npm-letsencrypt:/etc/letsencrypt" # Only needed for first time migration from original nginx-proxy-manager to this fork environment: - "TZ=Europe/Berlin" # set timezone # - "PUID=1000" # set group id # - "PGID=1000" # set user id # - "NGINX_LOG_NOT_FOUND=true" # Allow logging of 404 errors # - "NPM_LISTEN_LOCALHOST=true" # Bind the NPM Dashboard on Port 81 only to localhost # - "NPM_CERT_ID=1" # ID of cert, which should be used instead of dummycerts # - "CLEAN=false" # Clean folders # - "FULLCLEAN=true" # Clean unused config folders # - "PHP81=true" # Activate PHP81 # - "PHP81_APKS=php81-curl php-81-curl" # Add php extensions, see aviable packages here: https://pkgs.alpinelinux.org/packages?branch=v3.17&repo=community&arch=x86_64&name=php81-* # - "PHP82=true" # Activate PHP82 # - "PHP82_APKS=php82-curl php-82-curl" # Add php extensions, see aviable packages here: https://pkgs.alpinelinux.org/packages?branch=v3.17&repo=community&arch=x86_64&name=php82-*