mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-03 07:53:39 +00:00
34 lines
2.5 KiB
YAML
34 lines
2.5 KiB
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"
|
|
# - "/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, required
|
|
# - "PUID=1000" # set group id, default 0 (root)
|
|
# - "PGID=1000" # set user id, default 0 (root)
|
|
# - "NIBEP=48694" # internal port, always bound to 127.0.0.1, default 48693, you need to change it, if you want to run multiple npm instances in network mode host
|
|
# - "NPM_PORT=82" # Port the NPM backend should be bound to, default 81, you need to change it, if you want to run multiple npm instances in network mode host
|
|
# - "IPV4_BINDING=127.0.0.1" # IPv4 address to bind, defaults to all
|
|
# - "NPM_IPV4_BINDING=127.0.0.1" # IPv4 address to bind for the NPM backend, defaults to all
|
|
# - "IPV6_BINDING=[::1]" # IPv6 address to bind, defaults to all
|
|
# - "NPM_IPV6_BINDING=[::1]" # IPv6 address to bind for the NPM backend, defaults to all
|
|
# - "DISABLE_IPV6=true" # disable IPv6, overrides with IPV6_BINDING, default false
|
|
# - "NPM_DISABLE_IPV6=true" # disable IPv6 for the NPM backend, overrides with NPM_IPV6_BINDING, default false, overrides NPM_LISTEN_LOCALHOST
|
|
# - "NPM_LISTEN_LOCALHOST=true" # Bind the NPM Dashboard on Port 81 only to localhost, overrides with NPM_IPV4_BINDING/NPM_IPV6_BINDING, default false
|
|
# - "NPM_CERT_ID=1" # ID of cert, which should be used instead of dummycerts, default 0/unset/dummycerts
|
|
# - "DISABLE_HTTP=true" # disables nginx to listen on port 80, default false
|
|
# - "NGINX_LOG_NOT_FOUND=true" # Allow logging of 404 errors, default false
|
|
# - "CLEAN=false" # Clean folders, default true
|
|
# - "FULLCLEAN=true" # Clean unused config folders, default false
|
|
# - "PHP81=true" # Activate PHP81, default false
|
|
# - "PHP81_APKS=php81-curl php-81-curl" # Add php extensions, see available packages here: https://pkgs.alpinelinux.org/packages?branch=v3.18&repo=community&arch=x86_64&name=php81-*, default none
|
|
# - "PHP82=true" # Activate PHP82, default false
|
|
# - "PHP82_APKS=php82-curl php-82-curl" # Add php extensions, see available packages here: https://pkgs.alpinelinux.org/packages?branch=v3.18&repo=community&arch=x86_64&name=php82-*, default none
|