added container names

This commit is contained in:
2026-04-21 23:19:24 +00:00
parent 4621a991fd
commit 8e70af9bfa

View File

@@ -1,5 +1,6 @@
services:
postgresql:
container_name: authentik-postgres
env_file:
- .env
environment:
@@ -22,6 +23,7 @@ services:
- database:/var/lib/postgresql/data
server:
container_name: authentik-server
command: server
depends_on:
postgresql:
@@ -48,6 +50,7 @@ services:
- ./custom-templates:/templates
worker:
container_name: authentik-worker
command: worker
depends_on:
postgresql:
@@ -71,7 +74,8 @@ services:
- ./certs:/certs
- ./custom-templates:/templates
authentik_proxy:
proxy:
container_name: authentik-proxy
image: ghcr.io/goauthentik/proxy
# Optionally specify the container's network, which must be able to reach the core authentik server.
# networks: