-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose-dev.yaml
More file actions
43 lines (43 loc) · 1.12 KB
/
Copy pathdocker-compose-dev.yaml
File metadata and controls
43 lines (43 loc) · 1.12 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:
inventory:
extends:
file: docker-compose-base.yaml
service: inventory
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
# maps schema to reflect changes in the container
volumes:
- .:/src/inventory
- /src/inventory/node_modules
- ./src/inventory.gql:/src/inventory/src/inventory.gql
command: npm run start:dev
inventory-db:
extends:
file: docker-compose-base.yaml
service: inventory-db
ports:
- "27017:27017"
mongosetup:
extends:
file: docker-compose-base.yaml
service: mongosetup
inventory-dapr:
extends:
file: docker-compose-base.yaml
service: inventory-dapr
volumes:
- "./.dapr/dapr-config-minimal.yaml:/config.yaml"
- "./.dapr/components:/components"
placement:
image: "daprio/dapr"
command: ["./placement", "-port", "50006"]
ports:
- 50006:50006
volumes:
inventory-db-data: