platform-deployments/docker/features/landing/docker-compose.yml
2026-01-31 17:14:54 -08:00

39 lines
1.2 KiB
YAML

version: '3.8'
# =============================================================================
# LANDING FEATURE INFRASTRUCTURE
# =============================================================================
#
# Landing page backend infrastructure:
# - PostgreSQL: Merch submissions, idea voting, notifications
#
# =============================================================================
services:
landing-postgres:
image: postgres:16-alpine
container_name: lilith-landing-postgres
restart: unless-stopped
ports:
- '${LANDING_POSTGRES_PORT:-25437}:5432'
environment:
POSTGRES_USER: ${LANDING_POSTGRES_USER:-lilith}
POSTGRES_PASSWORD: ${LANDING_POSTGRES_PASSWORD:-landing_dev_password}
POSTGRES_DB: ${LANDING_POSTGRES_DB:-lilith_landing}
volumes:
- landing-postgres-data:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/01-init.sql:ro
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U ${LANDING_POSTGRES_USER:-lilith}']
interval: 10s
timeout: 5s
retries: 5
networks:
- landing-network
volumes:
landing-postgres-data:
networks:
landing-network:
driver: bridge