Isolate frontend and delivery runtimes with separate volumes
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
services:
|
||||
frontend:
|
||||
image: node:22-bookworm-slim
|
||||
working_dir: /app/Frontend
|
||||
working_dir: /app/frontend
|
||||
volumes:
|
||||
- ./Frontend:/app/Frontend
|
||||
- ./Frontend:/app/frontend
|
||||
- frontend_node_modules:/app/frontend/node_modules
|
||||
- frontend_nuxt:/app/frontend/.nuxt
|
||||
- frontend_output:/app/frontend/.output
|
||||
expose:
|
||||
- "3000"
|
||||
environment:
|
||||
@@ -48,11 +51,12 @@ services:
|
||||
- default
|
||||
- dokploy-network
|
||||
|
||||
delivery-worker:
|
||||
delivery:
|
||||
image: node:22-bookworm-slim
|
||||
working_dir: /app/Frontend
|
||||
working_dir: /app/delivery
|
||||
volumes:
|
||||
- ./Frontend:/app/Frontend
|
||||
- ./Frontend:/app/delivery
|
||||
- delivery_node_modules:/app/delivery/node_modules
|
||||
environment:
|
||||
DATABASE_URL: "${DATABASE_URL:-postgresql://postgres:dpb6gmj1umjhohso@crm-sql-q57r8m:5432/postgres?schema=public}"
|
||||
REDIS_URL: "${REDIS_URL:-redis://default:nw0mv1pemhnbh7gw@crm-redis-vkpxku:6379}"
|
||||
@@ -198,6 +202,10 @@ services:
|
||||
start_period: 5s
|
||||
|
||||
volumes:
|
||||
frontend_node_modules:
|
||||
frontend_nuxt:
|
||||
frontend_output:
|
||||
delivery_node_modules:
|
||||
langfuse_postgres_data:
|
||||
langfuse_clickhouse_data:
|
||||
langfuse_clickhouse_logs:
|
||||
|
||||
Reference in New Issue
Block a user