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