fix: external network issue
This commit is contained in:
parent
af3da77969
commit
172b080efe
@ -5,6 +5,8 @@ services:
|
|||||||
image: modem7/dhcprelay:latest
|
image: modem7/dhcprelay:latest
|
||||||
container_name: dhcp-relay
|
container_name: dhcp-relay
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- adguardhome
|
||||||
command: ["-id", "enp2s0", "-iu", "br_adguard", "10.0.0.10"]
|
command: ["-id", "enp2s0", "-iu", "br_adguard", "10.0.0.10"]
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
@ -18,10 +20,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
adguardhome:
|
adguardhome:
|
||||||
ipv4_address: 10.0.0.10
|
ipv4_address: 10.0.0.10
|
||||||
docker-compose-nas:
|
default:
|
||||||
ports:
|
ports:
|
||||||
- "53:53/tcp"
|
- "53:53/tcp"
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
|
- "67:67/tcp"
|
||||||
- "68:68/tcp"
|
- "68:68/tcp"
|
||||||
- "68:68/udp"
|
- "68:68/udp"
|
||||||
- "853:853/tcp"
|
- "853:853/tcp"
|
||||||
|
@ -5,8 +5,6 @@ services:
|
|||||||
image: ghcr.io/flaresolverr/flaresolverr:latest
|
image: ghcr.io/flaresolverr/flaresolverr:latest
|
||||||
container_name: flaresolverr
|
container_name: flaresolverr
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
|
||||||
docker-compose-nas:
|
|
||||||
environment:
|
environment:
|
||||||
- LOG_LEVEL=${LOG_LEVEL:-info}
|
- LOG_LEVEL=${LOG_LEVEL:-info}
|
||||||
- LOG_HTML=${LOG_HTML:-false}
|
- LOG_HTML=${LOG_HTML:-false}
|
||||||
@ -17,7 +15,3 @@ services:
|
|||||||
- traefik.http.routers.flaresolverr.rule=PathPrefix(`/flaresolverr`)
|
- traefik.http.routers.flaresolverr.rule=PathPrefix(`/flaresolverr`)
|
||||||
- traefik.http.routers.flaresolverr.tls=true
|
- traefik.http.routers.flaresolverr.tls=true
|
||||||
- traefik.http.services.flaresolverr.loadbalancer.server.port=8191
|
- traefik.http.services.flaresolverr.loadbalancer.server.port=8191
|
||||||
|
|
||||||
networks:
|
|
||||||
docker-compose-nas:
|
|
||||||
external: true
|
|
||||||
|
Loading…
Reference in New Issue
Block a user