22 lines
581 B
YAML
Executable file
22 lines
581 B
YAML
Executable file
services:
|
|
platform-admin-db:
|
|
image: postgres:16-alpine
|
|
container_name: lilith-platform-admin-db
|
|
environment:
|
|
POSTGRES_USER: lilith
|
|
POSTGRES_PASSWORD: lilith
|
|
POSTGRES_DB: platform_admin
|
|
ports:
|
|
- "25435:5432"
|
|
volumes:
|
|
- platform-admin-db-data:/var/lib/postgresql/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U lilith -d platform_admin"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
platform-admin-db-data:
|
|
name: lilith-${LILITH_ENV:-dev}-platform-admin-db-data
|