From 35ed7ef94a017825a3a9132bc05beaac9ee78680 Mon Sep 17 00:00:00 2001 From: arcbjorn Date: Fri, 28 Oct 2022 09:51:01 -0300 Subject: [PATCH] fix(Umami): networking --- umami/docker-compose.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/umami/docker-compose.yaml b/umami/docker-compose.yaml index 008b0dc..2b61227 100644 --- a/umami/docker-compose.yaml +++ b/umami/docker-compose.yaml @@ -4,13 +4,15 @@ services: umami: image: ghcr.io/mikecao/umami:postgresql-latest container_name: umami - - ports: - - "127.0.0.1:${UMAMI_PORT}:3000" env_file: - ../stack.env depends_on: - umami_db + + ports: + - "127.0.0.1:${UMAMI_PORT}:3000" + networks: + - caddy-network restart: always umami_db: @@ -26,3 +28,7 @@ services: volumes: umami-db-data: + +networks: + external: true + name: caddy-network