mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 16:03:38 +00:00
18 lines
931 B
YAML
18 lines
931 B
YAML
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
|
|
# - "NPM_CERT_ID=1" # ID of cert, which should be used instead of dummycerts
|
|
# - "PHP_APKS=php81-curl php-82-curl" # Add php extensions, see aviable packages here: https://pkgs.alpinelinux.org/packages?branch=edge&repo=community&arch=x86_64&name=php8*-*
|