24 lines
518 B
YAML
24 lines
518 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
container_name: cyberhybridhub_postgres
|
|
environment:
|
|
POSTGRES_USER: openswe
|
|
POSTGRES_PASSWORD: openswe_password_123
|
|
POSTGRES_DB: cyberhybridhub_realestate
|
|
ports:
|
|
- "5433:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U openswe"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
postgres_data:
|