28 lines
816 B
YAML
28 lines
816 B
YAML
# Profile Feature Stack
|
|
# Database services for user profile management
|
|
#
|
|
# Run with: docker compose up -d
|
|
# Uses Docker volumes to avoid NFS permission issues
|
|
|
|
services:
|
|
profile-postgres:
|
|
image: postgres:16-alpine
|
|
container_name: lilith-profile-postgres
|
|
restart: unless-stopped
|
|
ports:
|
|
- '${POSTGRES_PORT:-25442}:5432'
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER:-lilith}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-profile_dev}
|
|
POSTGRES_DB: ${POSTGRES_DB:-lilith_profile}
|
|
volumes:
|
|
- profile-postgres-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER:-lilith}']
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
profile-postgres-data:
|
|
name: lilith-${LILITH_ENV:-dev}-profile-postgres-data
|