platform-codebase/features/landing/backend-api/docker-compose.yml

22 lines
478 B
YAML
Executable file

version: '3.8'
services:
postgres:
image: postgres:16-alpine
container_name: lilith-landing-db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: lilith_landing
ports:
- "5438:5432"
volumes:
- landing_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
landing_postgres_data: