Add Dokploy-specific docker-compose

This commit is contained in:
2026-01-28 16:27:07 +00:00
parent 98ea0427bb
commit 3946836e2e

View File

@@ -0,0 +1,28 @@
services:
api:
build:
context: ./apps/api
dockerfile: Dockerfile
restart: unless-stopped
ports:
- 3001
environment:
- DATABASE_URL=${DATABASE_URL}
- PORT=3001
- NODE_ENV=production
- APP_URL=${APP_URL}
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS}
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}
- RESEND_API_KEY=${RESEND_API_KEY}
- FROM_EMAIL=${FROM_EMAIL}
- HAMMER_API_KEY=${HAMMER_API_KEY}
web:
build:
context: ./apps/web
dockerfile: Dockerfile
restart: unless-stopped
ports:
- 80
environment:
- VITE_API_URL=${VITE_API_URL:-https://api.todo.donovankelly.xyz}