From a4e5dc112a11d6219289c5df7867cc410c93b82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 20 Jun 2022 12:50:15 +0200 Subject: [PATCH] Connect all containers to internal network --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 8545636..e59f4f2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,6 +28,8 @@ services: interval: 30s retries: 5 timeout: 3s + networks: + - internal server: image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2022.6.2} restart: unless-stopped @@ -50,6 +52,7 @@ services: - "0.0.0.0:${AUTHENTIK_PORT_HTTP:-9000}:9000" - "0.0.0.0:${AUTHENTIK_PORT_HTTPS:-9443}:9443" networks: + - internal - postgres worker: image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2022.6.2} @@ -75,6 +78,7 @@ services: env_file: - .env networks: + - internal - postgres geoipupdate: image: "maxmindinc/geoipupdate:latest" @@ -85,6 +89,8 @@ services: GEOIPUPDATE_FREQUENCY: "8" env_file: - .env + networks: + - internal volumes: database: @@ -93,5 +99,7 @@ volumes: driver: local networks: + internal: + external: true postgres: external: true