Use of network_type host instead of bridge for DNS resolving issues in frontend

This commit is contained in:
Jean Froment 2017-03-09 15:52:01 +01:00
parent cc9168e0dc
commit 2c3ddc88c4
1 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ services:
image: fromenje/seedbox:frontend image: fromenje/seedbox:frontend
build: Dockerfiles/frontend build: Dockerfiles/frontend
restart: always restart: always
network_mode: "bridge" network_mode: "host"
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
@ -24,7 +24,7 @@ services:
image: fromenje/seedbox:rtorrent image: fromenje/seedbox:rtorrent
build: Dockerfiles/rtorrent build: Dockerfiles/rtorrent
restart: always restart: always
network_mode: "bridge" network_mode: "host"
ports: ports:
- "49161:49161" - "49161:49161"
- "49161:49161/udp" - "49161:49161/udp"
@ -37,7 +37,7 @@ services:
image: fromenje/seedbox:deluge image: fromenje/seedbox:deluge
build: Dockerfiles/deluge build: Dockerfiles/deluge
restart: always restart: always
network_mode: "bridge" network_mode: "host"
ports: ports:
- "8112:8112" - "8112:8112"
- "58846:58846" - "58846:58846"
@ -51,7 +51,7 @@ services:
image: fromenje/seedbox:h5ai image: fromenje/seedbox:h5ai
build: Dockerfiles/h5ai build: Dockerfiles/h5ai
restart: always restart: always
network_mode: "bridge" network_mode: "host"
ports: ports:
- "12333:12333" - "12333:12333"
volumes: volumes:
@ -64,7 +64,7 @@ services:
image: fromenje/seedbox:plex image: fromenje/seedbox:plex
build: Dockerfiles/plex build: Dockerfiles/plex
restart: always restart: always
network_mode: "bridge" network_mode: "host"
ports: ports:
- "32400:32400" - "32400:32400"
volumes: volumes:
@ -77,7 +77,7 @@ services:
image: fromenje/seedbox:sonarr image: fromenje/seedbox:sonarr
build: Dockerfiles/sonarr build: Dockerfiles/sonarr
restart: always restart: always
network_mode: "bridge" network_mode: "host"
volumes: volumes:
- config:/config - config:/config
- torrents:/torrents - torrents:/torrents