This commit is contained in:
2025-03-03 18:02:44 +01:00
parent e63356ffc8
commit c78d14e9e5
4 changed files with 164 additions and 0 deletions

1
nginx/.env Normal file
View File

@ -0,0 +1 @@
APPNAME=nginx

52
nginx/docker-compose.yml Normal file
View File

@ -0,0 +1,52 @@
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 <host-port>:<container-port>
- '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=Utilities
- homepage.name=Nginx
- homepage.weight=15
- homepage.icon=${APPNAME}.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=jaydee@sectorq.eu
- homepage.widget.password=l4c1j4yd33Du5lo
#- homepage.widget.version=2
networks:
pihole_pihole:
external: true