Files
prompts.chat/docker-compose.dev.yml
T
Fatih Kadir Akın 85a5f3bed7 Initialize v2 work
2025-12-10 15:41:23 +03:00

27 lines
595 B
YAML

version: '3.8'
# Development docker-compose - only runs the database
# The Next.js app runs locally with npm run dev
services:
db:
image: postgres:16-alpine
container_name: prompts-chat-db-dev
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: prompts_chat
volumes:
- postgres_data_dev:/var/lib/postgresql/data
ports:
- "5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data_dev: