blob: 0bf1673ace08b41ac28c9d592bce4d7438b47b79 [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"
Akron157387a2022-12-05 12:44:06 +010034 configs:
35 - source: super_client_info
Akron62f16082022-11-21 16:36:58 +010036 target: /kalamar/super_client_info
Akron157387a2022-12-05 12:44:06 +010037 mode: 0555
Akron62f16082022-11-21 16:36:58 +010038 depends_on:
39 kustvakt-full:
40 condition: service_started
41 full-init:
42 condition: service_completed_successfully
43 profiles:
44 - full
Akronb03d67b2022-02-02 11:54:53 +010045 kustvakt:
Akron0336ea02022-04-03 21:44:12 +020046 image: "korap/kustvakt:latest"
Akronb03d67b2022-02-02 11:54:53 +010047 expose:
Akron62f16082022-11-21 16:36:58 +010048 - 8089
Akronb03d67b2022-02-02 11:54:53 +010049 volumes:
Marc Kupietz67b47112022-05-29 10:16:26 +020050 - "${INDEX}:/kustvakt/index:z"
Akron62f16082022-11-21 16:36:58 +010051 profiles:
52 - lite
53 kustvakt-full:
54 image: "korap/kustvakt:latest-full"
55 expose:
56 - 8089
57 volumes:
58 - "${INDEX}:/kustvakt/index:z"
Akron157387a2022-12-05 12:44:06 +010059 configs:
60 - source: super_client_info
Akron62f16082022-11-21 16:36:58 +010061 target: /kustvakt/client/super_client_info
Akron157387a2022-12-05 12:44:06 +010062 mode: 0555
Akron62f16082022-11-21 16:36:58 +010063 profiles:
64 - full
65 depends_on:
66 full-init:
67 condition: service_completed_successfully
68configs:
69 super_client_info:
Akron157387a2022-12-05 12:44:06 +010070 file: ./super_client_info