feat: use address for routing
This commit is contained in:
@@ -13,15 +13,9 @@ services:
|
|||||||
traefik.http.routers.adguard.rule: "Host(`adguard.${DOMAIN}`)"
|
traefik.http.routers.adguard.rule: "Host(`adguard.${DOMAIN}`)"
|
||||||
traefik.http.routers.adguard.entrypoints: "https"
|
traefik.http.routers.adguard.entrypoints: "https"
|
||||||
traefik.http.routers.adguard.tls.certresolver: "cloudflare"
|
traefik.http.routers.adguard.tls.certresolver: "cloudflare"
|
||||||
traefik.http.services.adguard.loadbalancer.server.port: "6969"
|
|
||||||
traefik.http.routers.adguard.middlewares: "voidauth@docker"
|
traefik.http.routers.adguard.middlewares: "voidauth@docker"
|
||||||
|
traefik.tcp.services.adguard.loadbalancer.server.address: "${HOST_IP}:6969"
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- ${CONFIG_ROOT}/adguard/work:/opt/adguardhome/work
|
- ${CONFIG_ROOT}/adguard/work:/opt/adguardhome/work
|
||||||
- ${CONFIG_ROOT}/adguard/conf:/opt/adguardhome/conf
|
- ${CONFIG_ROOT}/adguard/conf:/opt/adguardhome/conf
|
||||||
networks:
|
|
||||||
- traefik_public
|
|
||||||
|
|
||||||
networks:
|
|
||||||
traefik_public:
|
|
||||||
external: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user