-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yaml
More file actions
37 lines (37 loc) · 920 Bytes
/
Copy pathdocker-compose-dev.yaml
File metadata and controls
37 lines (37 loc) · 920 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
services:
payment:
extends:
file: docker-compose-base.yaml
service: payment
ports:
- 8080:8080
build:
context: ./
target: development
# Mount our host Directory to the docker container
# Mount (.) current directory to the docker container src/app
# reflect file changes from host to container
volumes:
- .:/src/payment
- /src/payment/node_modules
command: npm run start:dev
payment-db:
extends:
file: docker-compose-base.yaml
service: payment-db
ports:
- "27017:27017"
payment-dapr:
extends:
file: docker-compose-base.yaml
service: payment-dapr
volumes:
- "./.dapr/dapr-config-minimal.yaml:/config.yaml"
- "./.dapr/components:/components"
placement:
image: "daprio/dapr"
command: ["./placement", "-port", "50006"]
ports:
- 50006:50006
volumes:
payment-db-data: