lilith-platform.live/deployments/docker/docker-compose.yml
autocommit f54beda503 chore(docker): 🔧 Update Docker Compose service definitions and resource constraints
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-20 18:43:59 -07:00

40 lines
1 KiB
YAML

services:
postgres:
image: postgres:16
container_name: lilith-live-postgres
ports:
- "25460:5432"
environment:
POSTGRES_DB: lilith_live
POSTGRES_USER: lilith
POSTGRES_PASSWORD: dev
POSTGRES_INITDB_ARGS: "-c shared_preload_libraries=uuid-ossp"
volumes:
- pgdata:/var/lib/postgresql/data
- ./init-quinn-api.sql:/docker-entrypoint-initdb.d/01-init-quinn-api.sql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lilith -d lilith_live"]
interval: 5s
timeout: 5s
retries: 5
merchant-postgres:
image: postgres:16
container_name: lilith-live-merchant-postgres
ports:
- "25445:5432"
environment:
POSTGRES_DB: lilith_merchant
POSTGRES_USER: lilith
POSTGRES_PASSWORD: dev
volumes:
- merchant-pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lilith -d lilith_merchant"]
interval: 5s
timeout: 5s
retries: 5
volumes:
pgdata:
merchant-pgdata: