Make DNS settings for containers configurable, closes #1965

This commit is contained in:
Dane Everitt
2020-04-25 12:18:18 -07:00
parent b0fa5abe31
commit 7321fe1421
3 changed files with 53 additions and 50 deletions

View File

@@ -618,8 +618,7 @@ func (d *DockerEnvironment) Create() error {
// from the Panel.
Resources: d.getResourcesForServer(),
// @todo make this configurable again
DNS: []string{"1.1.1.1", "8.8.8.8"},
DNS: config.Get().Docker.Network.Dns,
// Configure logging for the container to make it easier on the Daemon to grab
// the server output. Ensure that we don't use too much space on the host machine