-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompose.yaml
80 lines (80 loc) · 1.79 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
volumes:
example-index:
services:
examplecontainer:
image: "korap/example-index:0.1"
profiles:
- example
volumes:
- "example-index:/kustvakt/index"
restart: "no"
kalamar:
image: "korap/kalamar:latest"
ports:
- "64543:64543"
environment:
KALAMAR_API: "http://kustvakt:8089/api/"
depends_on:
- kustvakt
profiles:
- lite
restart: "unless-stopped"
full-init:
image: "korap/kalamar:latest"
command: super_client_info kalamar /kalamar/data/super_client_info
volumes:
- type: bind
source: "${PWD}/data/"
target: "/kalamar/data"
profiles:
- full
- init
user: root
restart: "no"
kalamar-full:
image: "korap/kalamar:latest"
ports:
- "64543:64543"
environment:
KALAMAR_API: "http://kustvakt-full:8089/api/"
KALAMAR_PLUGINS: "Auth"
KALAMAR_CLIENT_FILE: "/kalamar/super_client_info"
volumes:
- ${PWD}/data/super_client_info:/kalamar/super_client_info:z
depends_on:
kustvakt-full:
condition: service_started
full-init:
condition: service_completed_successfully
profiles:
- full
restart: "unless-stopped"
user: root
kustvakt:
image: "korap/kustvakt:latest"
expose:
- 8089
volumes:
- "${INDEX}:/kustvakt/index:z"
profiles:
- lite
restart: "unless-stopped"
kustvakt-full:
image: "korap/kustvakt:latest-full"
expose:
- 8089
user: root
volumes:
- "${INDEX}:/kustvakt/index:z"
- type: bind
source: "${PWD}/data/"
target: /kustvakt/data/
profiles:
- full
depends_on:
full-init:
condition: service_completed_successfully
restart: "unless-stopped"
configs:
super_client_info:
external: true