do not need special network if I ignore the default network, composer makes one with DNS discovery on it and its fine

This commit is contained in:
2020-06-28 00:38:20 +10:00
parent b1b97f2c75
commit 128cf3c997

View File

@@ -380,17 +380,3 @@ services:
- /export/docker/container/grafana/grafana/provisioning:/etc/grafana/provisioning
env_file:
- /export/docker/container/grafana/config.monitoring
# override the default network to use the "user-generated" plex-net
# weirdy, ONLY, user-generated networks allow DNS service discovery
# (e.g. comms between containers on the 'name', e.g. nzbget resolves to the
# internal ip on the bridged plex-net for the nzbget container)
# finally, this only worked when the host (mara) had a routable DNS server in
# /etc/resolv.conf -- It used to be a 127.0.0/24 addr, and this won't work in
# a docker network, so it was then rewritten to resolving off of 8.8.8.8 and no
# service discovery :(
networks:
default:
external:
name: media-net