root: remove redundant internal network from compose

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-05 20:39:27 +02:00
parent d29d161ac6
commit 7a16c9cb14

View file

@ -7,8 +7,6 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- database:/var/lib/postgresql/data - database:/var/lib/postgresql/data
networks:
- internal
environment: environment:
- POSTGRES_PASSWORD=${PG_PASS:?database password required} - POSTGRES_PASSWORD=${PG_PASS:?database password required}
- POSTGRES_USER=${PG_USER:-authentik} - POSTGRES_USER=${PG_USER:-authentik}
@ -18,8 +16,6 @@ services:
redis: redis:
image: redis:alpine image: redis:alpine
restart: unless-stopped restart: unless-stopped
networks:
- internal
server: server:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2021.9.5} image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2021.9.5}
restart: unless-stopped restart: unless-stopped
@ -36,8 +32,6 @@ services:
- ./media:/media - ./media:/media
- ./custom-templates:/templates - ./custom-templates:/templates
- geoip:/geoip - geoip:/geoip
networks:
- internal
env_file: env_file:
- .env - .env
ports: ports:
@ -47,8 +41,6 @@ services:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2021.9.5} image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2021.9.5}
restart: unless-stopped restart: unless-stopped
command: worker command: worker
networks:
- internal
environment: environment:
AUTHENTIK_REDIS__HOST: redis AUTHENTIK_REDIS__HOST: redis
AUTHENTIK_POSTGRESQL__HOST: postgresql AUTHENTIK_POSTGRESQL__HOST: postgresql
@ -83,6 +75,3 @@ volumes:
driver: local driver: local
geoip: geoip:
driver: local driver: local
networks:
internal: {}