feat: Adds dns settings.

This commit is contained in:
2025-11-29 13:52:12 -05:00
parent bb6e5008ed
commit 0c6b9c4b35

View File

@@ -46,6 +46,9 @@ services:
networks: networks:
servarrnetwork: servarrnetwork:
ipv4_address: 172.39.0.2 ipv4_address: 172.39.0.2
dns:
- 1.1.1.1
- 8.8.8.8
ports: ports:
- 8701:8701 # qbittorrent web interface - 8701:8701 # qbittorrent web interface
- 6881:6881 # qbittorrent torrent port - 6881:6881 # qbittorrent torrent port
@@ -99,6 +102,9 @@ services:
condition: service_healthy condition: service_healthy
restart: true restart: true
network_mode: service:gluetun network_mode: service:gluetun
dns:
- 1.1.1.1
- 8.8.8.8
healthcheck: healthcheck:
test: ping -c 1 www.google.com || exit 1 test: ping -c 1 www.google.com || exit 1
interval: 60s interval: 60s