33 lines
773 B
YAML
33 lines
773 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
context: ..
|
|
dockerfile: .devcontainer/Dockerfile
|
|
volumes:
|
|
- ../:/app-root:cached
|
|
command: debug
|
|
environment:
|
|
AUTHENTIK_POSTGRESQL__USER: postgres
|
|
AUTHENTIK_POSTGRESQL__PASSWORD: postgres
|
|
AUTHENTIK_BOOTSTRAP_PASSWORD: akadmin
|
|
AUTHENTIK_BOOTSTRAP_TOKEN: akadmin
|
|
db:
|
|
image: docker.io/library/postgres:15
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
network_mode: service:app
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: authentik
|
|
POSTGRES_PASSWORD: postgres
|
|
redis:
|
|
image: docker.io/redis/redis-stack-server
|
|
restart: unless-stopped
|
|
network_mode: service:app
|
|
|
|
volumes:
|
|
postgres-data:
|