-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkorap4dnb-compose.yml
85 lines (85 loc) · 2.04 KB
/
korap4dnb-compose.yml
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
version: '3.8'
volumes:
example-index:
services:
kalamar:
image: "korap/kalamar:dnb"
ports:
- "4000:64543"
environment:
KALAMAR_API: "http://kustvakt:8089/api/"
depends_on:
- kustvakt
volumes:
- type: bind
source: /home/kupietz/epub2i5/html/robots.txt
target: /kalamar/public/robots.txt
profiles:
- lite
restart: "unless-stopped"
full-init:
image: "korap/kalamar:latest-conv"
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-conv"
ports:
- "64543:64543"
environment:
KALAMAR_API: "http://kustvakt-full:8089/api/"
volumes:
- type: bind
source: "${PWD}/data/kalamar.production.conf"
target: "/kalamar/kalamar.production.conf"
- type: bind
source: "${PWD}/data/super_client_info"
target: /kalamar/super_client_info
depends_on:
kustvakt-full:
condition: service_started
full-init:
condition: service_completed_successfully
profiles:
- full
restart: "unless-stopped"
user: root
kustvakt:
image: "korap/kustvakt:0.73.2"
ports:
- "8089:8089"
user: root
volumes:
- "/home/kupietz/epub2i5/dnb.index:/kustvakt/index:z"
- type: bind
source: "/home/yaddehige/epub2i5/data/"
target: /kustvakt/data/
profiles:
- lite
restart: "unless-stopped"
kustvakt-full:
image: "korap/kustvakt:latest-full"
expose:
- 8089
user: root
volumes:
- "/home/kupietz/epub2i5/dnb.index:/kustvakt/index:z"
- type: bind
source: "/home/kupietz/epub2i5/data/"
target: /kustvakt/data/
profiles:
- full
depends_on:
full-init:
condition: service_completed_successfully
restart: "unless-stopped"
configs:
super_client_info:
external: true