blob: 6e14ceaeaa6cf3234d7aeac56166d2d7630e60e8 [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
19 source: "${PWD}"
20 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
34 source: "${PWD}/kalamar.production.conf"
35 target: "/kalamar/kalamar.production.conf"
Akron5c859012022-12-06 11:03:32 +010036 - type: bind
37 source: "${PWD}/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"
Akronb03d67b2022-02-02 11:54:53 +010047 kustvakt:
Akron0336ea02022-04-03 21:44:12 +020048 image: "korap/kustvakt:latest"
Akronb03d67b2022-02-02 11:54:53 +010049 expose:
Akron62f16082022-11-21 16:36:58 +010050 - 8089
Akronb03d67b2022-02-02 11:54:53 +010051 volumes:
Marc Kupietz67b47112022-05-29 10:16:26 +020052 - "${INDEX}:/kustvakt/index:z"
Akron62f16082022-11-21 16:36:58 +010053 profiles:
54 - lite
Akron0268a9f2023-02-06 09:50:54 +010055 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010056 kustvakt-full:
57 image: "korap/kustvakt:latest-full"
58 expose:
59 - 8089
60 volumes:
61 - "${INDEX}:/kustvakt/index:z"
Akron5c859012022-12-06 11:03:32 +010062 - type: bind
63 source: "${PWD}/super_client_info"
Akron62f16082022-11-21 16:36:58 +010064 target: /kustvakt/client/super_client_info
65 profiles:
66 - full
67 depends_on:
68 full-init:
69 condition: service_completed_successfully
Akron0268a9f2023-02-06 09:50:54 +010070 restart: "unless-stopped"
Akron62f16082022-11-21 16:36:58 +010071configs:
72 super_client_info:
Akron5c859012022-12-06 11:03:32 +010073 external: true