blob: adff41995e28557941995f95f28087db5d03a26b [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
Akron0268a9f2023-02-06 09:50:54 +010013 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010014 full-init:
15 image: "korap/kalamar:latest-conv"
16 command: super_client_info kalamar /kalamar/data/super_client_info
17 volumes:
18 - type: bind
Akron035ec442023-12-13 13:28:29 +010019 source: "${PWD}/data/"
Akron62f16082022-11-21 16:36:58 +010020 target: "/kalamar/data"
21 profiles:
22 - full
23 - init
24 user: root
Akron0268a9f2023-02-06 09:50:54 +010025 restart: "no"
Akron62f16082022-11-21 16:36:58 +010026 kalamar-full:
27 image: "korap/kalamar:latest-conv"
28 ports:
29 - "64543:64543"
30 environment:
31 KALAMAR_API: "http://kustvakt-full:8089/api/"
32 volumes:
33 - type: bind
Akron035ec442023-12-13 13:28:29 +010034 source: "${PWD}/data/kalamar.production.conf"
Akron62f16082022-11-21 16:36:58 +010035 target: "/kalamar/kalamar.production.conf"
Akron5c859012022-12-06 11:03:32 +010036 - type: bind
Akron035ec442023-12-13 13:28:29 +010037 source: "${PWD}/data/super_client_info"
Akron62f16082022-11-21 16:36:58 +010038 target: /kalamar/super_client_info
39 depends_on:
40 kustvakt-full:
41 condition: service_started
42 full-init:
43 condition: service_completed_successfully
44 profiles:
45 - full
Akron0268a9f2023-02-06 09:50:54 +010046 restart: "unless-stopped"
Akron035ec442023-12-13 13:28:29 +010047 user: root
Akronb03d67b2022-02-02 11:54:53 +010048 kustvakt:
Akron0336ea02022-04-03 21:44:12 +020049 image: "korap/kustvakt:latest"
Akronb03d67b2022-02-02 11:54:53 +010050 expose:
Akron62f16082022-11-21 16:36:58 +010051 - 8089
Akronb03d67b2022-02-02 11:54:53 +010052 volumes:
Marc Kupietz67b47112022-05-29 10:16:26 +020053 - "${INDEX}:/kustvakt/index:z"
Akron62f16082022-11-21 16:36:58 +010054 profiles:
55 - lite
Akron0268a9f2023-02-06 09:50:54 +010056 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010057 kustvakt-full:
58 image: "korap/kustvakt:latest-full"
59 expose:
60 - 8089
Akron035ec442023-12-13 13:28:29 +010061 user: root
Akron62f16082022-11-21 16:36:58 +010062 volumes:
63 - "${INDEX}:/kustvakt/index:z"
Akron5c859012022-12-06 11:03:32 +010064 - type: bind
Akron035ec442023-12-13 13:28:29 +010065 source: "${PWD}/data/"
66 target: /kustvakt/data/
Akron62f16082022-11-21 16:36:58 +010067 profiles:
68 - full
69 depends_on:
70 full-init:
71 condition: service_completed_successfully
Akron0268a9f2023-02-06 09:50:54 +010072 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010073configs:
74 super_client_info:
Akron5c859012022-12-06 11:03:32 +010075 external: true