This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/.devcontainer/docker-compose.yml
Jens Langhammer 2b7df39504
dev: test devcontainers
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-05-06 16:23:43 +02:00

28 lines
581 B
YAML

version: '3.8'
services:
app:
build:
context: ..
dockerfile: .devcontainer/Dockerfile
volumes:
- ../:/authentik:cached
command: debug
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: postgres
POSTGRES_PASSWORD: postgres
redis:
image: docker.io/redis/redis-stack-server
restart: unless-stopped
network_mode: service:app
volumes:
postgres-data: