2023-08-15 08:49:05 +00:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
devcontainer:
|
|
|
|
image: mcr.microsoft.com/devcontainers/base:ubuntu
|
|
|
|
volumes:
|
|
|
|
- ../..:/workspaces:cached
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
network_mode: service:db
|
|
|
|
command: sleep infinity
|
2024-06-18 08:29:02 +00:00
|
|
|
environment:
|
2024-10-29 19:02:04 +00:00
|
|
|
ZITADEL_DATABASE_POSTGRES_HOST: db
|
|
|
|
ZITADEL_DATABASE_POSTGRES_PORT: 5432
|
|
|
|
ZITADEL_DATABASE_POSTGRES_DATABASE: zitadel
|
|
|
|
ZITADEL_DATABASE_POSTGRES_USER_USERNAME: zitadel
|
|
|
|
ZITADEL_DATABASE_POSTGRES_USER_PASSWORD: zitadel
|
|
|
|
ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE: disable
|
|
|
|
ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME: postgres
|
|
|
|
ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD: postgres
|
|
|
|
ZITADEL_DATABASE_POSTGRES_ADMIN_SSL_MODE: disable
|
|
|
|
ZITADEL_EXTERNALSECURE: false
|
2023-08-15 08:49:05 +00:00
|
|
|
db:
|
|
|
|
image: postgres:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- postgres-data:/var/lib/postgresql/data
|
|
|
|
environment:
|
2024-10-29 19:02:04 +00:00
|
|
|
PGUSER: postgres
|
2023-08-15 08:49:05 +00:00
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres-data:
|