Add Dokploy-specific docker-compose
This commit is contained in:
28
docker-compose.dokploy.yml
Normal file
28
docker-compose.dokploy.yml
Normal 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}
|
||||
Reference in New Issue
Block a user