-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
112 lines (112 loc) · 2.52 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
services:
diagrams-viewer:
build:
context: ./diagrams-viewer
args:
KROKI_RENDERER_URL: https://localhost:7040/
ports:
- 9000:80
depends_on:
- kroki
profiles: ["diagrams"]
fetcher:
build: ./fetcher
volumes:
- ./cache/fetch:/cache/fetch
- ./common/utils:/common/utils
environment:
- BROKER=mosquitto
depends_on:
- mosquitto
profiles: ["events"]
markdown:
build: ./markdown
volumes:
- ./cache/fetch:/fetch
- ./cache/process:/process
- ./cache/web:/web
- ./common/utils:/common/utils
environment:
- BROKER=mosquitto
depends_on:
- mosquitto
profiles: ["events"]
mosquitto:
build: ./mosquitto
ports:
- 1883:1883
volumes:
- ./cache/log/mosquitto:/mosquitto/log
nginx:
build: ./nginx
volumes:
- ./certs:/etc/nginx/certs
ports:
- 443:443
- 4040:4040
- 7040:7040
depends_on:
- mermaid-live-editor
- viewer
- kroki
profiles: ["diagrams"]
runner:
build: ./runner
volumes:
- ./workflow.yaml:/app/workflow.yaml
environment:
- BROKER=mosquitto
depends_on:
- mosquitto
- fetcher
- markdown
- search
search:
build: ./search
volumes:
- ./cache/process:/cache/process
- ./common/utils:/common/utils
environment:
- BROKER=mosquitto
- SEARCH_HOST=typesense
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
depends_on:
- mosquitto
- typesense
profiles: ["events"]
typesense:
image: typesense/typesense:26.0
restart: on-failure
ports:
- 8108:8108
volumes:
- ./cache/data/typesense:/data
environment:
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
command: '--data-dir /data --enable-cors'
kroki:
image: yuzutech/kroki
ports:
- 7000:8000
environment:
- KROKI_BLOCKDIAG_HOST=blockdiag
- KROKI_MERMAID_HOST=mermaid
- KROKI_BPMN_HOST=bpmn
- KROKI_DIAGRAMSNET_HOST=diagramsnet
depends_on:
- blockdiag
- mermaid
- bpmn
profiles: ["diagrams"]
blockdiag:
image: yuzutech/kroki-blockdiag
profiles: ["diagrams"]
mermaid:
image: yuzutech/kroki-mermaid
profiles: ["diagrams"]
bpmn:
image: yuzutech/kroki-bpmn
profiles: ["diagrams"]
diagramsnet:
image: yuzutech/kroki-diagramsnet
profiles: ["diagrams"]