1
0
Fork 0

Connect all containers to internal network

This commit is contained in:
Lukáš Kucharczyk 2022-06-20 12:50:15 +02:00
parent 8259603016
commit a4e5dc112a
No known key found for this signature in database
1 changed files with 8 additions and 0 deletions

View File

@ -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