Update AdGuard and Traefik Docker Compose files for improved configuration clarity
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
|||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
# - "67:67/udp" # DHCP
|
# - "67:67/udp" # DHCP
|
||||||
# - "68:68/tcp" # DHCP
|
# - "68:68/tcp" # DHCP
|
||||||
# - 3000:3000 # Порт для веб-интерфейса AdGuard Home
|
- "3000:3000/tcp"
|
||||||
volumes:
|
volumes:
|
||||||
- ./adguardhome/work:/opt/adguardhome/work
|
- ./adguardhome/work:/opt/adguardhome/work
|
||||||
- ./adguardhome/conf:/opt/adguardhome/conf
|
- ./adguardhome/conf:/opt/adguardhome/conf
|
||||||
@@ -22,7 +22,3 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
traefik-proxy:
|
traefik-proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -19,10 +19,7 @@ services:
|
|||||||
- "--providers.file.watch=true"
|
- "--providers.file.watch=true"
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.traefik.rule=Host(`traefik.workstation`)"
|
- "traefik.docker.network=traefik-proxy"
|
||||||
- "traefik.http.routers.traefik.entrypoints=websecure"
|
|
||||||
- "traefik.http.routers.traefik.service=api@internal"
|
|
||||||
- "traefik.http.routers.traefik.tls=true"
|
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|||||||
Reference in New Issue
Block a user