-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
60 lines (54 loc) · 1.46 KB
/
docker-compose.dev.yml
File metadata and controls
60 lines (54 loc) · 1.46 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
57
58
59
60
# Docker Compose - Development Profile
# Usage: docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
version: '3.8'
services:
# Override for development with hot-reload
water-integrator:
build:
context: ./backend/water-integrator
dockerfile: Dockerfile
target: development
volumes:
- ./backend/water-integrator/src:/app/src:ro
- maven-cache:/root/.m2
environment:
SPRING_DEVTOOLS_RESTART_ENABLED: "true"
SPRING_PROFILES_ACTIVE: dev
LOG_LEVEL: DEBUG
auth-service:
build:
context: ./backend/auth-service
dockerfile: Dockerfile
target: development
volumes:
- ./backend/auth-service/src:/app/src:ro
- maven-cache:/root/.m2
environment:
SPRING_DEVTOOLS_RESTART_ENABLED: "true"
SPRING_PROFILES_ACTIVE: dev
LOG_LEVEL: DEBUG
water-visualizer:
build:
context: ./backend/water-visualizer
dockerfile: Dockerfile
target: development
volumes:
- ./backend/water-visualizer/src:/app/src:ro
- maven-cache:/root/.m2
environment:
SPRING_DEVTOOLS_RESTART_ENABLED: "true"
SPRING_PROFILES_ACTIVE: dev
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
target: development
volumes:
- ./frontend/src:/app/src:ro
- /app/node_modules
environment:
VITE_HOT_RELOAD: "true"
NODE_ENV: development
command: npm run dev -- --host
volumes:
maven-cache: