-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker compose
More file actions
34 lines (31 loc) · 758 Bytes
/
docker compose
File metadata and controls
34 lines (31 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3.8"
services:
dashboard:
image: node:18
container_name: dashboard
working_dir: /app
ports:
- "3000:3000"
volumes:
- ./frontend:/app
command: sh -c "npm install && npm run dev"
environment:
- PORT=3000
n8n:
image: n8nio/n8n
container_name: n8n
ports:
- "5678:5678"
environment:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=${SUPABASE_DB_HOST}
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=${SUPABASE_DB_NAME}
- DB_POSTGRESDB_USER=${SUPABASE_DB_USER}
- DB_POSTGRESDB_PASSWORD=${SUPABASE_DB_PASSWORD}
- N8N_HOST=localhost
- WEBHOOK_URL=${COOLIFY_PUBLIC_URL}
volumes:
- n8n_data:/home/node/.n8n
volumes:
n8n_data: