2023-08-15 10:49:05 +02:00
|
|
|
services:
|
2025-07-20 20:44:33 +02:00
|
|
|
|
2023-08-15 10:49:05 +02:00
|
|
|
devcontainer:
|
2025-07-22 14:13:44 +02:00
|
|
|
container_name: devcontainer
|
2025-07-21 17:13:29 +00:00
|
|
|
build:
|
2025-08-05 18:25:29 +02:00
|
|
|
context: .
|
2023-08-15 10:49:05 +02:00
|
|
|
volumes:
|
2025-07-22 14:13:44 +02:00
|
|
|
- ../../:/workspaces:cached
|
2023-08-15 10:49:05 +02:00
|
|
|
command: sleep infinity
|
2025-07-21 17:13:29 +00:00
|
|
|
working_dir: /workspaces
|
2024-06-18 10:29:02 +02:00
|
|
|
environment:
|
2024-10-29 20:02:04 +01:00
|
|
|
ZITADEL_DATABASE_POSTGRES_HOST: db
|
|
|
|
ZITADEL_EXTERNALSECURE: false
|
2025-08-02 05:35:33 +02:00
|
|
|
|
2023-08-15 10:49:05 +02:00
|
|
|
db:
|
2025-07-21 00:34:54 +02:00
|
|
|
container_name: db
|
2025-07-20 23:37:05 +02:00
|
|
|
image: postgres:17.0-alpine3.19
|
2023-08-15 10:49:05 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- postgres-data:/var/lib/postgresql/data
|
|
|
|
environment:
|
2024-10-29 20:02:04 +01:00
|
|
|
PGUSER: postgres
|
2023-08-15 10:49:05 +02:00
|
|
|
POSTGRES_PASSWORD: postgres
|
2025-07-20 23:37:05 +02:00
|
|
|
healthcheck:
|
2025-07-23 19:09:52 +02:00
|
|
|
test: [ "CMD-SHELL", "pg_isready" ]
|
2025-07-20 23:37:05 +02:00
|
|
|
interval: "10s"
|
|
|
|
timeout: "30s"
|
|
|
|
retries: 5
|
|
|
|
start_period: "20s"
|
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
2023-08-15 10:49:05 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres-data:
|