-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
31 lines (30 loc) · 827 Bytes
/
Copy pathcompose.dev.yml
File metadata and controls
31 lines (30 loc) · 827 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
services:
backend:
container_name: selji-backend-dev
build:
context: ./server
dockerfile: Dockerfile.dev
environment:
- NODE_ENV=development
- PORT=4000
- EXTERNAL_DB_PATH=/nasdb/workflow.db
- SECRET_ENC_KEY=devsecretkeydevsecretkeydevsecretkey1
ports:
- "4000:4000"
volumes:
- ./server:/app
- /app/node_modules
- "C:/Users/test/Dropbox/selji:/nasdb"
restart: unless-stopped
frontend:
container_name: selji-frontend-dev
build:
context: .
dockerfile: Dockerfile.frontend.dev
environment:
- NODE_ENV=development
- VITE_API_BASE_URL=http://localhost:4000
ports:
- "5173:5173"
# ⬇️ IMPORTANT: no .:/app here, so node_modules + vite from the image are preserved
restart: unless-stopped