mirror of
https://git.meshkee.com/BaloutPastry/backend.git
synced 2026-08-11 22:31:00 +04:30
Initial commit of Balout Pastry NestJS API.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: balout-postgres
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:${POSTGRES_PORT:-5434}:5432"
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER:-balout}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-balout_secret}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-balout_pastry}
|
||||
volumes:
|
||||
- balout_postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"pg_isready -U ${POSTGRES_USER:-balout} -d ${POSTGRES_DB:-balout_pastry}",
|
||||
]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
balout_postgres_data:
|
||||
Reference in New Issue
Block a user