40 lines
1 KiB
YAML
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:
|