Quick question on the EE Docker Configs or this might be Docker in general. I’m working with testing some of the apps (prowlarr in this case) and I have a need due to restrictions on my DNS servers to bypass the local DNS servers and use Google public ones. What I’m trying to figure out is how can I configure the image to accept these on passing them through to the image. I can see that you can use --dns=8.8.8.8 but not sure how i can use that on EE.
You can add a dns element to the services section in a docker compose yaml.
Eg:
services:
application:
dns:
- 8.8.8.8
- 4.4.4.4
- 192.168.9.45
Okay, I read that online but won’t that affect all the docker images, i.e. won’t it be a global setting and all deployed images will use it? My goal is to just have it for one or two as i want.
Or are you suggesting that I can edit the metadata.yaml for an installed app like Prowlarr and add the section to it?
No.
I’m suggesting if you want to customize the dns servers that an app uses then you need to setup a custom app using docker compose yaml.
Gotcha and thanks. Appreciate the guidance.