-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
56 lines (52 loc) · 1.67 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
56 lines (52 loc) · 1.67 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
44
45
46
47
48
49
50
51
52
53
54
55
56
services:
scoutarr-dev:
build:
context: .
dockerfile: Dockerfile.dev
container_name: scoutarr-dev
working_dir: /app
restart: unless-stopped
ports:
- "5840:5839" # Backend API
- "7291:7291" # Vite dev server
volumes:
# Mount source code for hot reloading
- ./shared/src:/app/shared/src
- ./shared/tsconfig.json:/app/shared/tsconfig.json
- ./frontend/src:/app/frontend/src
- ./frontend/public:/app/frontend/public
- ./backend/src:/app/backend/src
- ./frontend/index.html:/app/frontend/index.html
- ./frontend/vite.config.ts:/app/frontend/vite.config.ts
- ./frontend/tsconfig.json:/app/frontend/tsconfig.json
- ./frontend/tsconfig.node.json:/app/frontend/tsconfig.node.json
- ./frontend/postcss.config.js:/app/frontend/postcss.config.js
- ./frontend/tailwind.config.js:/app/frontend/tailwind.config.js
- ./backend/tsconfig.json:/app/backend/tsconfig.json
# Use named volumes for build outputs and node_modules
- node_modules:/app/node_modules
- shared_dist:/app/shared/dist
- frontend_node_modules:/app/frontend/node_modules
- frontend_dist:/app/frontend/dist
- backend_node_modules:/app/backend/node_modules
- backend_dist:/app/backend/dist
# Mount config directory
- ./config:/app/config
environment:
- NODE_ENV=development
- TZ=Asia/Kuwait
- LOG_LEVEL=debug
networks:
- scoutarr-network
stdin_open: true
tty: true
networks:
scoutarr-network:
driver: bridge
volumes:
node_modules:
shared_dist:
frontend_node_modules:
frontend_dist:
backend_node_modules:
backend_dist: