mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-06-27 16:57:05 +00:00
added nginx-proxy-manager
added reverse proxy exercise
This commit is contained in:
parent
0a00ff2b44
commit
ee194f2859
6
.gitignore
vendored
6
.gitignore
vendored
@ -59,3 +59,9 @@ system-monitoring/grafana/storage/
|
|||||||
homepage/homepage-config/logs/
|
homepage/homepage-config/logs/
|
||||||
monitor/db-data/
|
monitor/db-data/
|
||||||
mariadb/nc_data/
|
mariadb/nc_data/
|
||||||
|
nginx-proxy-manager/data/
|
||||||
|
nginx-proxy-manager/letsencrypt/
|
||||||
|
reverse-proxy-exercise/conf/
|
||||||
|
reverse-proxy-exercise/data/
|
||||||
|
reverse-proxy-exercise/work/
|
||||||
|
reverse-proxy-exercise/letsencrypt/
|
||||||
|
@ -10,10 +10,12 @@ services:
|
|||||||
- ./work:/opt/adguardhome/work
|
- ./work:/opt/adguardhome/work
|
||||||
- ./conf:/opt/adguardhome/conf
|
- ./conf:/opt/adguardhome/conf
|
||||||
ports:
|
ports:
|
||||||
- 53:53
|
- 53:53/tcp
|
||||||
|
- 53:53/udp
|
||||||
- 67:67/udp
|
- 67:67/udp
|
||||||
- 68:68/udp
|
- 68:68/udp
|
||||||
- 3002:3000
|
- 3002:3000
|
||||||
|
- 8585:80
|
||||||
#- 80:80/tcp
|
#- 80:80/tcp
|
||||||
#- 443:443/tcp
|
#- 443:443/tcp
|
||||||
#- 443:443/udp
|
#- 443:443/udp
|
||||||
|
39
nginx-proxy-manager/compose.yml
Normal file
39
nginx-proxy-manager/compose.yml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# https://nginxproxymanager.com/
|
||||||
|
|
||||||
|
# easily forward to your websites running at home or otherwise, including free SSL, without having to know too much about Nginx or Letsencrypt
|
||||||
|
|
||||||
|
# first login: admin@example.com/changeme
|
||||||
|
|
||||||
|
name: nginx-proxy-manager
|
||||||
|
|
||||||
|
services:
|
||||||
|
proxymanager:
|
||||||
|
container_name: nginx-proxy-manager
|
||||||
|
image: 'jc21/nginx-proxy-manager:latest'
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
# These ports are in format <host-port>:<container-port>
|
||||||
|
- '80:80' # Public HTTP Port
|
||||||
|
- '443:443' # Public HTTPS Port
|
||||||
|
- '8181: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:
|
||||||
|
- ./data:/data
|
||||||
|
- ./letsencrypt:/etc/letsencrypt
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
41
reverse-proxy-exercise/compose.yml
Normal file
41
reverse-proxy-exercise/compose.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#
|
||||||
|
|
||||||
|
name: reverse-proxy
|
||||||
|
|
||||||
|
services:
|
||||||
|
adguardhome:
|
||||||
|
container_name: adguard-home
|
||||||
|
volumes:
|
||||||
|
- ./work:/opt/adguardhome/work
|
||||||
|
- ./conf:/opt/adguardhome/conf
|
||||||
|
ports:
|
||||||
|
- 53:53/tcp
|
||||||
|
- 53:53/udp
|
||||||
|
- 67:67/udp
|
||||||
|
- 68:68/udp
|
||||||
|
- 3000:3000
|
||||||
|
- 85:80
|
||||||
|
image: adguard/adguardhome
|
||||||
|
restart: unless-stopped
|
||||||
|
# first login: admin@example.com/changeme
|
||||||
|
proxymanager:
|
||||||
|
container_name: nginx-proxy-manager
|
||||||
|
image: 'jc21/nginx-proxy-manager:latest'
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- '80:80' # Public HTTP Port
|
||||||
|
- '443:443' # Public HTTPS Port
|
||||||
|
- '8181:81'
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- ./letsencrypt:/etc/letsencrypt
|
||||||
|
whoami:
|
||||||
|
image: traefik/whoami
|
||||||
|
container_name: whoami
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Vienna
|
||||||
|
ports:
|
||||||
|
- 84:80
|
||||||
|
restart: unless-stopped
|
Loading…
x
Reference in New Issue
Block a user