blob: afa4f07cad87ec6c3336a1081748d46569d3797e [file] [log] [blame]
Akronb03d67b2022-02-02 11:54:53 +01001version: '3.8'
2services:
3 kalamar:
Akron0336ea02022-04-03 21:44:12 +02004 image: "korap/kalamar:latest-conv"
Akronb03d67b2022-02-02 11:54:53 +01005 ports:
6 - "64543:64543"
7 environment:
8 KALAMAR_API: "http://kustvakt:8089/api/"
Akron62f16082022-11-21 16:36:58 +01009 depends_on:
10 - kustvakt
11 profiles:
12 - lite
13 full-init:
14 image: "korap/kalamar:latest-conv"
15 command: super_client_info kalamar /kalamar/data/super_client_info
16 volumes:
17 - type: bind
18 source: "${PWD}"
19 target: "/kalamar/data"
20 profiles:
21 - full
22 - init
23 user: root
24 kalamar-full:
25 image: "korap/kalamar:latest-conv"
26 ports:
27 - "64543:64543"
28 environment:
29 KALAMAR_API: "http://kustvakt-full:8089/api/"
30 volumes:
31 - type: bind
32 source: "${PWD}/kalamar.production.conf"
33 target: "/kalamar/kalamar.production.conf"
34 - type: bind
35 source: "${PWD}/super_client_info"
36 target: /kalamar/super_client_info
37 depends_on:
38 kustvakt-full:
39 condition: service_started
40 full-init:
41 condition: service_completed_successfully
42 profiles:
43 - full
Akronb03d67b2022-02-02 11:54:53 +010044 kustvakt:
Akron0336ea02022-04-03 21:44:12 +020045 image: "korap/kustvakt:latest"
Akronb03d67b2022-02-02 11:54:53 +010046 expose:
Akron62f16082022-11-21 16:36:58 +010047 - 8089
Akronb03d67b2022-02-02 11:54:53 +010048 volumes:
Marc Kupietz67b47112022-05-29 10:16:26 +020049 - "${INDEX}:/kustvakt/index:z"
Akron62f16082022-11-21 16:36:58 +010050 profiles:
51 - lite
52 kustvakt-full:
53 image: "korap/kustvakt:latest-full"
54 expose:
55 - 8089
56 volumes:
57 - "${INDEX}:/kustvakt/index:z"
58 - type: bind
59 source: "${PWD}/super_client_info"
60 target: /kustvakt/client/super_client_info
61 profiles:
62 - full
63 depends_on:
64 full-init:
65 condition: service_completed_successfully
66configs:
67 super_client_info:
68 external: true