From d399d87a0ee7dfe721a510dd0df70d336db8c72d Mon Sep 17 00:00:00 2001 From: Leopere Date: Tue, 2 Oct 2018 16:54:18 -0400 Subject: [PATCH] Added networking and traefik label --- lbrynet-daemon/docker-compose.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lbrynet-daemon/docker-compose.yml b/lbrynet-daemon/docker-compose.yml index cd65223..766835e 100644 --- a/lbrynet-daemon/docker-compose.yml +++ b/lbrynet-daemon/docker-compose.yml @@ -1,19 +1,21 @@ -## This docker-compose should just get the lbrynet-daemon running and it's ports published to the host. -## Just git clone this entire git repo to your local and docker-compose up -d from inside of the lbrynet-daemon directory. -## At least until lbryio hosts this officially on their account with Docker Hub -## To-Do: -## * [] setup webhooks in gitlab on projects that build containers for this. -## * [] Get the thing tested & perfected. -## * [] Healthchecks on all containers ideally without needing a custom container. version: '3.4' -services: +networks: + traefik: + external: true + +services: ############# ## Lbrynet ## ############# lbrynet: build: . restart: always + networks: + traefik: + ipv4_address: 10.5.0.3 + labels: + - "traefik.expose=false" ports: - 4444:4444 - 50001:50001