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