-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
43 lines (42 loc) · 1.19 KB
/
docker-compose.dev.yml
File metadata and controls
43 lines (42 loc) · 1.19 KB
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
43
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
target: development
container_name: quarter-summarizer-frontend
ports:
- "5173:5173"
environment:
- VITE_API_URL=http://backend:3001
volumes:
- ./frontend/src:/app/src
- ./frontend/public:/app/public
- ./frontend/index.html:/app/index.html
- ./frontend/vite.config.ts:/app/vite.config.ts
- ./frontend/tsconfig.json:/app/tsconfig.json
- ./frontend/tsconfig.app.json:/app/tsconfig.app.json
- ./frontend/tsconfig.node.json:/app/tsconfig.node.json
- ./frontend/components.json:/app/components.json
depends_on:
- backend
restart: unless-stopped
backend:
build:
context: ./backend
dockerfile: Dockerfile
target: development
container_name: quarter-summarizer-backend
ports:
- "3001:3001"
- "9229:9229"
env_file:
- ./backend/.env
environment:
- NEST_APPLICATION_PORT=3001
- NODE_ENV=development
volumes:
- ./backend/src:/app/src
- ./backend/tsconfig.json:/app/tsconfig.json
- ./backend/nest-cli.json:/app/nest-cli.json
restart: unless-stopped