mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-07-01 16:08:32 +02:00
alias
This commit is contained in:
1
nginx/.env
Normal file
1
nginx/.env
Normal file
@ -0,0 +1 @@
|
||||
APPNAME=nginx
|
52
nginx/docker-compose.yml
Normal file
52
nginx/docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user