version: '3.8' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped #network_mode: host healthcheck: test: ["CMD", "/usr/bin/check-health"] interval: 10s timeout: 3s ports: #These ports are in format : - '8099:80' # Public HTTP Port - '4439:443' # Public HTTPS Port - '81:81' # Admin Web Port # Add any other Stream port you want to expose # - '21:21' # FTP # Uncomment the next line if you uncomment anything in the section # environment: # Uncomment this if you want to change the location of # the SQLite DB file within the container # DB_SQLITE_FILE: "/data/database.sqlite" # Uncomment this if IPv6 is not enabled on your host # DISABLE_IPV6: 'true' volumes: - /share/docker_data/nginx/data:/data - /share/docker_data/nginx/letsencrypt:/etc/letsencrypt dns: - 192.168.78.254 networks: - pihole_pihole labels: - homepage.group=Infrastructure - homepage.name=Nginx - homepage.weight=25 - homepage.icon=nginx-proxy-manager.png - homepage.href=http://active.home.lan:81 - homepage.description=Reverse Proxy - homepage.server=my-docker - homepage.container=nginx-app-1 - homepage.widget.type=npm - homepage.widget.url=http://active.home.lan:81 - homepage.widget.username=monitoring@sectorq.eu - homepage.widget.password=OdyAJvifHvDPMOyFdbiKak5S #- homepage.widget.version=2 networks: pihole_pihole: external: true