blob: 7908ca83c4f3384a8544b323cc6ca64c5e618a03 [file] [log] [blame]
Marc Kupietzb7696992024-03-18 17:41:15 +01001version: '3.8'
2volumes:
3 example-index:
4services:
5 kalamar:
6 image: "korap/kalamar:dnb"
7 ports:
Marc Kupietz3c72db82024-04-19 12:01:32 +02008 - "80:64543"
Marc Kupietzb7696992024-03-18 17:41:15 +01009 environment:
10 KALAMAR_API: "http://kustvakt:8089/api/"
11 depends_on:
12 - kustvakt
Marc Kupietz8d473032024-04-23 09:44:01 +020013 volumes:
14 - type: bind
15 source: ./html/robots.txt
16 target: /kalamar/public/robots.txt
Marc Kupietzb7696992024-03-18 17:41:15 +010017 profiles:
18 - lite
19 restart: "unless-stopped"
20 full-init:
21 image: "korap/kalamar:latest-conv"
22 command: super_client_info kalamar /kalamar/data/super_client_info
23 volumes:
24 - type: bind
25 source: "${PWD}/data/"
26 target: "/kalamar/data"
27 profiles:
28 - full
29 - init
30 user: root
31 restart: "no"
32 kalamar-full:
33 image: "korap/kalamar:latest-conv"
34 ports:
35 - "64543:64543"
36 environment:
37 KALAMAR_API: "http://kustvakt-full:8089/api/"
38 volumes:
39 - type: bind
40 source: "${PWD}/data/kalamar.production.conf"
41 target: "/kalamar/kalamar.production.conf"
42 - type: bind
43 source: "${PWD}/data/super_client_info"
44 target: /kalamar/super_client_info
45 depends_on:
46 kustvakt-full:
47 condition: service_started
48 full-init:
49 condition: service_completed_successfully
50 profiles:
51 - full
52 restart: "unless-stopped"
53 user: root
54 kustvakt:
55 image: "korap/kustvakt:latest"
56 expose:
57 - 8089
58 volumes:
59 - "${PWD}/dnb.index:/kustvakt/index:z"
60 profiles:
61 - lite
62 restart: "unless-stopped"
63 kustvakt-full:
64 image: "korap/kustvakt:latest-full"
65 expose:
66 - 8089
67 user: root
68 volumes:
69 - "${PWD}/dnb.index:/kustvakt/index:z"
70 - type: bind
71 source: "${PWD}/data/"
72 target: /kustvakt/data/
73 profiles:
74 - full
75 depends_on:
76 full-init:
77 condition: service_completed_successfully
78 restart: "unless-stopped"
79configs:
80 super_client_info:
81 external: true