-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml
49 lines (44 loc) · 1.28 KB
/
docker-compose.override.yml
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
# development configuration
version: '3.9'
services:
planets-service:
build:
context: .
dockerfile: ./planets-service/Dockerfile
target: 'develop-stage'
command: /bin/bash -c "cargo watch -x run"
volumes:
- ./planets-service:/app
- planets-service-cargo-cache:/usr/local/cargo/registry
- planets-service-target-cache:/app/target
satellites-service:
build:
context: .
dockerfile: ./satellites-service/Dockerfile
target: 'develop-stage'
command: /bin/bash -c "cargo watch -x run"
volumes:
- ./satellites-service:/app
- satellites-service-cargo-cache:/usr/local/cargo/registry
- satellites-service-target-cache:/app/target
auth-service:
build:
context: .
dockerfile: ./auth-service/Dockerfile
target: 'develop-stage'
command: /bin/bash -c "cargo watch -x run"
volumes:
- ./auth-service:/app
- auth-service-cargo-cache:/usr/local/cargo/registry
- auth-service-target-cache:/app/target
gateway:
build:
context: .
dockerfile: ./gateway/Dockerfile
volumes:
planets-service-cargo-cache:
planets-service-target-cache:
satellites-service-cargo-cache:
satellites-service-target-cache:
auth-service-cargo-cache:
auth-service-target-cache: