From f4af8922c764a4ca6b32d5dfdc4ccea327aae6b8 Mon Sep 17 00:00:00 2001 From: MoryCorp Date: Fri, 30 Oct 2020 00:33:03 +0100 Subject: [PATCH] Add configuration for Traefik 2 --- docker-compose.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5dadb81..cad7a67 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,9 +28,15 @@ services: - plausible_events_db - mail ports: - - 80:8000 + - 80:8000 #Remove this line if you plan to use Traefik env_file: - plausible-conf.env + labels: + # Uncomment line below if you plan to use Traefik + # - "traefik.enable=true" + # - "traefik.http.routers.plausible.rule=Host(`yourdomain.com`)" # replace this with your own domain + # - "traefik.http.routers.plausible.entrypoints=websecure" + # - "traefik.http.services.plausible.loadbalancer.server.port=8000" volumes: db-data: