chore: rename service folders to lowercase
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
delivery:
|
delivery:
|
||||||
build:
|
build:
|
||||||
context: ../Frontend
|
context: ../frontend
|
||||||
dockerfile: Dockerfile.worker
|
dockerfile: Dockerfile.worker
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: "${DATABASE_URL:-postgresql://postgres:dpb6gmj1umjhohso@crm-sql-q57r8m:5432/postgres?schema=public}"
|
DATABASE_URL: "${DATABASE_URL:-postgresql://postgres:dpb6gmj1umjhohso@crm-sql-q57r8m:5432/postgres?schema=public}"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
version = 1
|
version = 1
|
||||||
|
|
||||||
[services]
|
[services]
|
||||||
frontend = { deploy_mode = "dokploy_webhook", env_storage = "dokploy_ui", compose_path = "Frontend/docker-compose.yml" }
|
frontend = { deploy_mode = "dokploy_webhook", env_storage = "dokploy_ui", compose_path = "frontend/docker-compose.yml" }
|
||||||
delivery_worker = { deploy_mode = "dokploy_webhook", env_storage = "dokploy_ui", compose_path = "Delivery/docker-compose.yml" }
|
delivery_worker = { deploy_mode = "dokploy_webhook", env_storage = "dokploy_ui", compose_path = "delivery/docker-compose.yml" }
|
||||||
langfuse = { deploy_mode = "dokploy_webhook", env_storage = "dokploy_ui", compose_path = "Langfuse/docker-compose.yml" }
|
langfuse = { deploy_mode = "dokploy_webhook", env_storage = "dokploy_ui", compose_path = "langfuse/docker-compose.yml" }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ./Frontend
|
context: ./frontend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
@@ -45,7 +45,7 @@ services:
|
|||||||
|
|
||||||
delivery:
|
delivery:
|
||||||
build:
|
build:
|
||||||
context: ./Frontend
|
context: ./frontend
|
||||||
dockerfile: Dockerfile.worker
|
dockerfile: Dockerfile.worker
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: "${DATABASE_URL:-postgresql://postgres:dpb6gmj1umjhohso@crm-sql-q57r8m:5432/postgres?schema=public}"
|
DATABASE_URL: "${DATABASE_URL:-postgresql://postgres:dpb6gmj1umjhohso@crm-sql-q57r8m:5432/postgres?schema=public}"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
|
|
||||||
export function datasetRoot(input: { teamId: string; userId: string }) {
|
export function datasetRoot(input: { teamId: string; userId: string }) {
|
||||||
// Keep it outside Frontend so it can be easily ignored and shared.
|
// Keep it outside frontend so it can be easily ignored and shared.
|
||||||
return path.resolve(process.cwd(), "..", ".data", "crmfs", "teams", input.teamId, "users", input.userId);
|
return path.resolve(process.cwd(), "..", ".data", "crmfs", "teams", input.teamId, "users", input.userId);
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
[phases.install]
|
[phases.install]
|
||||||
cmds = ["cd Frontend && npm ci --legacy-peer-deps"]
|
cmds = ["cd frontend && npm ci --legacy-peer-deps"]
|
||||||
|
|
||||||
[phases.build]
|
[phases.build]
|
||||||
cmds = ["cd Frontend && npm run db:generate", "cd Frontend && npm run build"]
|
cmds = ["cd frontend && npm run db:generate", "cd frontend && npm run build"]
|
||||||
|
|
||||||
[start]
|
[start]
|
||||||
cmd = "cd Frontend && npm run preview -- --host 0.0.0.0 --port ${PORT:-3000}"
|
cmd = "cd frontend && npm run preview -- --host 0.0.0.0 --port ${PORT:-3000}"
|
||||||
|
|||||||
Reference in New Issue
Block a user