- Reorganize docs into 'Core deployment guides' and 'Setup and configuration' subdirectories - Consolidate redundant documentation files (ACR, pipelines, deployment guides) - Add documentation consolidation plan - Update backend database factory and logger services - Update migration script and docker-compose configurations - Add PostgreSQL setup script
22 lines
465 B
YAML
22 lines
465 B
YAML
services:
|
|
postgres:
|
|
image: postgres:15-alpine
|
|
container_name: cmdb-postgres-dev
|
|
environment:
|
|
POSTGRES_DB: cmdb_insight
|
|
POSTGRES_USER: cmdb
|
|
POSTGRES_PASSWORD: cmdb-dev
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U cmdb"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
postgres_data:
|