From f41f710f0dd9a27b2f4b23fe8c5a7c4f27d87114 Mon Sep 17 00:00:00 2001 From: Leopere Date: Sat, 2 Jun 2018 11:37:55 -0400 Subject: [PATCH] Adding labels for the Traefik reverse proxy --- www.spee.ch/advanced-docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/www.spee.ch/advanced-docker-compose.yml b/www.spee.ch/advanced-docker-compose.yml index 04141c9..6f8846f 100644 --- a/www.spee.ch/advanced-docker-compose.yml +++ b/www.spee.ch/advanced-docker-compose.yml @@ -20,6 +20,13 @@ services: - 3000 volumes: - ../data/spee.ch:/data + labels: + # https://docs.traefik.io/user-guide/docker-and-lets-encrypt/ + - "traefik.backend=speech" + - "traefik.docker.network=green" + - "traefik.frontend.rule=Host:YOURDOMAINHERE" + - "traefik.expose=true" + - "traefik.port=3000" networks: green: ipv4_address: 10.5.0.6 @@ -40,6 +47,8 @@ services: ## host volumes for persistent data such as wallet private keys. volumes: - ../data/lbrynet:/data + labels: + test: traefik.enable=false networks: green: ipv4_address: 10.5.0.7 @@ -63,6 +72,8 @@ services: - 3306 volumes: - ../data/db:/var/lib/mysql + labels: + test: traefik.enable=false networks: green: ipv4_address: 10.5.0.8