Initial commit: Mana Collection NestJS backend.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: mana-postgres
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:${POSTGRES_PORT:-5436}:5432"
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER:-mana}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-mana_secret}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-mana_collection}
|
||||
volumes:
|
||||
- mana_postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"pg_isready -U ${POSTGRES_USER:-mana} -d ${POSTGRES_DB:-mana_collection}",
|
||||
]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
mana_postgres_data:
|
||||
Reference in New Issue
Block a user