diff --git a/docker-compose.dokploy.yml b/docker-compose.dokploy.yml new file mode 100644 index 0000000..af318aa --- /dev/null +++ b/docker-compose.dokploy.yml @@ -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}