Files
customer-service/docker-compose.yml
Haim Kortovich 072dbf6e66 WIP
2026-03-05 11:35:01 -05:00

24 lines
502 B
YAML

version: "3.9"
services:
postgres:
image: postgres:16-alpine
container_name: customer_postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: customer_service_dev
ports:
- "5432:5432"
volumes:
- customer_pg_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
customer_pg_data: