-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
42 lines (39 loc) · 965 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
42 lines (39 loc) · 965 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
35
36
37
38
39
40
41
42
version: '3.8'
services:
backend:
build: ./backend
ports:
- "3000:3000"
environment:
- NODE_ENV=development
- DATABASE_URL=file:./dev.db
- LOG_LEVEL=debug
- JWT_SECRET=bridgeshield-docker-dev-jwt-secret
- ADMIN_INIT_USERNAME=admin
- ADMIN_INIT_PASSWORD=admin-password
- DEMO_API_KEY=bridgeshield-demo-key
volumes:
- ./backend:/app
- /app/node_modules
command: npm run dev
frontend-demo:
build: ./frontend-demo
ports:
- "5173:80"
volumes:
- ./frontend-demo:/app
- /app/node_modules
environment:
- VITE_API_BASE_URL=http://localhost:3000
- VITE_API_KEY=bridgeshield-demo-key
command: npm run dev
frontend-admin:
build: ./frontend-admin
ports:
- "5174:80"
volumes:
- ./frontend-admin:/app
- /app/node_modules
environment:
- VITE_API_BASE_URL=http://localhost:3000
command: npm run dev