mirror of
https://git.meshkee.com/novintrades/website.git
synced 2026-08-11 20:50:58 +04:30
22 lines
487 B
YAML
22 lines
487 B
YAML
services:
|
|
db:
|
|
image: postgres:16-alpine
|
|
container_name: novintrades-db
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: novintrades
|
|
POSTGRES_PASSWORD: novintrades
|
|
POSTGRES_DB: novintrades
|
|
ports:
|
|
- "5433:5432"
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U novintrades -d novintrades"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
volumes:
|
|
postgres_data:
|