Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 1 | version: '3.8' |
2 | services: | ||||
3 | kalamar: | ||||
Akron | 0336ea0 | 2022-04-03 21:44:12 +0200 | [diff] [blame] | 4 | image: "korap/kalamar:latest-conv" |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 5 | ports: |
6 | - "64543:64543" | ||||
7 | environment: | ||||
8 | KALAMAR_API: "http://kustvakt:8089/api/" | ||||
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 9 | depends_on: |
10 | - kustvakt | ||||
11 | profiles: | ||||
12 | - lite | ||||
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 13 | restart: "unless-stopped" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 14 | full-init: |
15 | image: "korap/kalamar:latest-conv" | ||||
16 | command: super_client_info kalamar /kalamar/data/super_client_info | ||||
17 | volumes: | ||||
18 | - type: bind | ||||
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame^] | 19 | source: "${PWD}/data/" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 20 | target: "/kalamar/data" |
21 | profiles: | ||||
22 | - full | ||||
23 | - init | ||||
24 | user: root | ||||
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 25 | restart: "no" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 26 | 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 | ||||
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame^] | 34 | source: "${PWD}/data/kalamar.production.conf" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 35 | target: "/kalamar/kalamar.production.conf" |
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 36 | - type: bind |
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame^] | 37 | source: "${PWD}/data/super_client_info" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 38 | 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 | ||||
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 46 | restart: "unless-stopped" |
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame^] | 47 | user: root |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 48 | kustvakt: |
Akron | 0336ea0 | 2022-04-03 21:44:12 +0200 | [diff] [blame] | 49 | image: "korap/kustvakt:latest" |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 50 | expose: |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 51 | - 8089 |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 52 | volumes: |
Marc Kupietz | 67b4711 | 2022-05-29 10:16:26 +0200 | [diff] [blame] | 53 | - "${INDEX}:/kustvakt/index:z" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 54 | profiles: |
55 | - lite | ||||
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 56 | restart: "unless-stopped" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 57 | kustvakt-full: |
58 | image: "korap/kustvakt:latest-full" | ||||
59 | expose: | ||||
60 | - 8089 | ||||
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame^] | 61 | user: root |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 62 | volumes: |
63 | - "${INDEX}:/kustvakt/index:z" | ||||
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 64 | - type: bind |
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame^] | 65 | source: "${PWD}/data/" |
66 | target: /kustvakt/data/ | ||||
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 67 | profiles: |
68 | - full | ||||
69 | depends_on: | ||||
70 | full-init: | ||||
71 | condition: service_completed_successfully | ||||
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 72 | restart: "unless-stopped" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 73 | configs: |
74 | super_client_info: | ||||
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 75 | external: true |