Switch to lbrynet network

This commit is contained in:
Leopere 2018-11-04 19:53:37 +00:00
parent 5ef885df04
commit 5aab4dc5f6

View file

@ -1,7 +1,7 @@
version: '3.4' version: '3.4'
networks: networks:
traefik: lbrynet:
external: true external: true
services: services:
@ -14,7 +14,7 @@ services:
image: traefik:alpine image: traefik:alpine
command: --api --docker --docker.domain=docker.localhost --logLevel=DEBUG command: --api --docker --docker.domain=docker.localhost --logLevel=DEBUG
networks: networks:
traefik: lbrynet:
ipv4_address: 10.5.1.100 ipv4_address: 10.5.1.100
ports: ports:
- target: 80 - target: 80
@ -36,7 +36,7 @@ services:
labels: labels:
# https://docs.traefik.io/user-guide/docker-and-lets-encrypt/ # https://docs.traefik.io/user-guide/docker-and-lets-encrypt/
- "traefik.backend=proxy" - "traefik.backend=proxy"
- "traefik.docker.network=traefik" - "traefik.docker.network=lbrynet"
## Make sure that you either set the .env variable included in this repository or replace the domain string below. ## Make sure that you either set the .env variable included in this repository or replace the domain string below.
## Also your DNS record will need to exist pointing at the machine your Traefik Reverse Proxy will be hosted on before you launch this app cluster. ## Also your DNS record will need to exist pointing at the machine your Traefik Reverse Proxy will be hosted on before you launch this app cluster.
- "traefik.frontend.rule=Host:monitor.${DOMAIN}" - "traefik.frontend.rule=Host:monitor.${DOMAIN}"