I am trying to standup a traefik-backed media center on my Raspberry Pi 4 and my services are not able to access the internet. Here is docker network inspect traefik_proxy
[
{
"Name": "traefik_proxy",
"Id": "6dfec884d68e227123ed40b2f5e9df52d2b15923d9a8ef6e0e5481c79dce30c4",
"Created": "2020-11-16T21:55:37.442262669-08:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": {},
"Config": [
{
"Subnet": "192.168.50.0/24",
"Gateway": "192.168.50.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"4090d3d71ecbe7f8b75a00d966cd0d01e21d9082b0a538bfedb4b90897d73eb5": {
"Name": "oauth",
"EndpointID": "cc0f0afa76d60857ec3e5bcf82eef9b242d12bdb99f77da4a2eb09ca047a4790",
"MacAddress": "02:42:c0:a8:32:02",
"IPv4Address": "192.168.50.2/24",
"IPv6Address": ""
},
"92482a08c8168f9594c88474c3495af07eff8fd1bf2f1aa17ead9512aa725a19": {
"Name": "traefik",
"EndpointID": "7c8b8c77cb18cdab1692a5f3e164e8d9c459ae3cf997fd8d934ae85c44629f94",
"MacAddress": "02:42:c0:a8:32:fe",
"IPv4Address": "192.168.50.254/24",
"IPv6Address": ""
},
"dfca9ba21aaae9e27e5a9504d6d9e185240d2ba6e9edb0af28dddb920fa9eb1e": {
"Name": "sonarr",
"EndpointID": "b110cd673e0ddc1ee9a71a798e434d2f1757bfde6db97b0935b66baf0c12550d",
"MacAddress": "02:42:c0:a8:32:f6",
"IPv4Address": "192.168.50.246/24",
"IPv6Address": ""
},
"e6852ba8bc4c63c0eec9b45a1fd1227384eab7338e07b50e25f64e0c229cf7c6": {
"Name": "dozzle",
"EndpointID": "ec8fbfdcc2448c1920f7b59390714ca44d3044a027b45f04fab22da92a049588",
"MacAddress": "02:42:c0:a8:32:03",
"IPv4Address": "192.168.50.3/24",
"IPv6Address": ""
}
},
"Options": {
"parent": "eth0"
},
"Labels": {}
}
]
And my sonarr.yml
version: "3.7"
services:
## Sonarr – TV Show Download and Management
sonarr:
container_name: sonarr
image: linuxserver/sonarr:preview #latest
restart: unless-stopped
networks:
traefik_proxy:
ipv4_address: 192.168.50.246
# ports:
# - "8989:8989"
security_opt:
- no-new-privileges:true
volumes:
- $CONFIGFOLDER/sonarr:/config
- $STORAGEFOLDER/Downloads:/downloads
- $STORAGEFOLDER/TV:/tv
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.sonarr-rtr.entrypoints=https"
- "traefik.http.routers.sonarr-rtr.rule=HostHeader(`sonarr.$DOMAINNAME`)"
- "traefik.http.routers.sonarr-rtr.priority=10"
- "traefik.http.routers.sonarr-rtr.tls=true"
## Middlewares
- "traefik.http.routers.sonarr-rtr.middlewares=chain-oauth@file"
## HTTP Services
- "traefik.http.routers.sonarr-rtr.service=sonarr-svc"
- "traefik.http.services.sonarr-svc.loadbalancer.server.port=8989"
## API Forward Auth Bypass
- "traefik.http.routers.sonarr-bypass.entrypoints=https"
- "traefik.http.routers.sonarr-bypass.rule=Headers(`X-Api-Key`, `$SONARR_API_KEY`) || Query(`apikey`, `$SONARR_API_KEY`)"
- "traefik.http.routers.sonarr-bypass.priority=20"
- "traefik.http.routers.sonarr-bypass.service=sonarr-svc"
networks:
traefik_proxy:
external: true
The site loads fine and there is a valid cert attached, but when I try to make any call (for instance to update sonarr) I get timeout errors.
the resolv.conf in the container looks like
nameserver 127.0.0.11
options ndots:0
Which I expect, so I try to add daemon.json,
{
"dns": ["10.1.2.3", "8.8.8.8"]
}
but even after deleting the container and restarting the docker service, the resolv.conf does not update. Any help would be greatly appreciated