mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 05:26:41 +02:00
first auth impl
This commit is contained in:
parent
8f7c63950c
commit
2a002bf6be
79 changed files with 13355 additions and 6076 deletions
|
|
@ -1,31 +0,0 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
nutriphi-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: nutriphi-backend
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=${PORT:-3002}
|
||||
- DATABASE_URL=${DATABASE_URL}
|
||||
- GEMINI_API_KEY=${GEMINI_API_KEY}
|
||||
- S3_ENDPOINT=${S3_ENDPOINT}
|
||||
- S3_ACCESS_KEY_ID=${S3_ACCESS_KEY_ID}
|
||||
- S3_SECRET_ACCESS_KEY=${S3_SECRET_ACCESS_KEY}
|
||||
- S3_BUCKET_NAME=${S3_BUCKET_NAME}
|
||||
- S3_REGION=${S3_REGION:-fsn1}
|
||||
- S3_PUBLIC_URL=${S3_PUBLIC_URL}
|
||||
- MANACORE_AUTH_URL=${MANACORE_AUTH_URL}
|
||||
ports:
|
||||
- "${PORT:-3002}:${PORT:-3002}"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:${PORT:-3002}/api/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
labels:
|
||||
- "coolify.managed=true"
|
||||
Loading…
Add table
Add a link
Reference in a new issue