working configuration
This commit is contained in:
@@ -16,12 +16,14 @@ services:
|
||||
- ./nginxpm/letsencrypt:/etc/letsencrypt
|
||||
- ./nginxpm/custom:/data/nginx/custom
|
||||
networks:
|
||||
- proxy
|
||||
- media
|
||||
- misc
|
||||
- productivity
|
||||
- overleaf
|
||||
- administration
|
||||
proxy:
|
||||
ipv4_address: 172.20.0.11
|
||||
media: {}
|
||||
misc: {}
|
||||
productivity: {}
|
||||
overleaf: {}
|
||||
administration: {}
|
||||
security: {}
|
||||
|
||||
adguard:
|
||||
image: adguard/adguardhome:latest
|
||||
@@ -35,7 +37,8 @@ services:
|
||||
- ./adguard/conf:/opt/adguardhome/conf
|
||||
- ./adguard/work:/opt/adguardhome/work
|
||||
networks:
|
||||
- proxy
|
||||
proxy:
|
||||
ipv4_address: 172.20.0.10
|
||||
|
||||
wg-easy:
|
||||
image: ghcr.io/wg-easy/wg-easy:latest
|
||||
@@ -47,7 +50,7 @@ services:
|
||||
- PASSWORD_HASH=${WG_EASY_PW_HASH}
|
||||
- WG_PORT=51820
|
||||
- WG_DEFAULT_ADDRESS=10.8.0.x
|
||||
- WG_DEFAULT_DNS=172.20.0.2
|
||||
- WG_DEFAULT_DNS=172.20.0.10
|
||||
- WG_ALLOWED_IPS=0.0.0.0/0
|
||||
- WG_PERSISTENT_KEEPALIVE=25
|
||||
volumes:
|
||||
@@ -62,7 +65,8 @@ services:
|
||||
- net.ipv4.ip_forward=1
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
networks:
|
||||
- proxy
|
||||
proxy:
|
||||
ipv4_address: 172.20.0.12
|
||||
|
||||
fail2ban:
|
||||
image: lscr.io/linuxserver/fail2ban:latest
|
||||
@@ -81,6 +85,24 @@ services:
|
||||
- /var/log:/var/log:ro
|
||||
restart: unless-stopped
|
||||
|
||||
do-ddns-updater:
|
||||
image: python:3
|
||||
container_name: do-ddns-updater
|
||||
working_dir: /usr/src/app
|
||||
volumes:
|
||||
- ./do-ddns-updater:/usr/src/app
|
||||
env_file:
|
||||
- .env
|
||||
stdin_open: true
|
||||
tty: true
|
||||
command: ./run_updater.sh
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
driver: bridge
|
||||
@@ -94,3 +116,5 @@ networks:
|
||||
external: true
|
||||
administration:
|
||||
external: true
|
||||
security:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user