-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (51 loc) · 1.09 KB
/
docker-compose.yaml
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
services:
db:
image: postgres:15.5-alpine
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=wO2VGDsMKR
ports:
- '5432:5432'
networks:
- pluggable-dapr
volumes:
- db:/var/lib/postgresql/data
pluggableapp:
build:
context: .
dockerfile: Dockerfile
networks:
- pluggable-dapr
volumes:
- shared-volume:/tmp/dapr-components-sockets
depends_on:
- db
pluggableapp-dapr:
image: "daprio/daprd:1.13.0-rc.6"
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
command: ["./daprd",
"-app-id", "pluggableapp",
"-dapr-http-port", "3500",
"-resources-path", "/DaprComponents",
"-log-level","debug"]
volumes:
- "./DaprComponents/:/DaprComponents"
- shared-volume:/tmp/dapr-components-sockets
depends_on:
- pluggableapp
ports:
- "3500:3500"
networks:
- pluggable-dapr
volumes:
shared-volume:
db:
driver: local
networks:
pluggable-dapr: