Akron | 50f5763 | 2024-09-03 12:26:02 +0200 | [diff] [blame^] | 1 | version: '3.9' |
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 | f18b5a8 | 2024-08-12 10:38:04 +0200 | [diff] [blame] | 13 | image: "korap/kalamar:latest" |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 14 | ports: |
15 | - "64543:64543" | ||||
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: |
Akron | f18b5a8 | 2024-08-12 10:38:04 +0200 | [diff] [blame] | 24 | image: "korap/kalamar:latest" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 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: |
Akron | f18b5a8 | 2024-08-12 10:38:04 +0200 | [diff] [blame] | 36 | image: "korap/kalamar:latest" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 37 | ports: |
38 | - "64543:64543" | ||||
39 | environment: | ||||
40 | KALAMAR_API: "http://kustvakt-full:8089/api/" | ||||
Akron | 80f2252 | 2024-09-02 12:35:21 +0200 | [diff] [blame] | 41 | KALAMAR_PLUGINS: "Auth" |
42 | KALAMAR_CLIENT_FILE: "/kalamar/super_client_info" | ||||
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 43 | volumes: |
44 | - type: bind | ||||
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame] | 45 | source: "${PWD}/data/kalamar.production.conf" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 46 | target: "/kalamar/kalamar.production.conf" |
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 47 | - type: bind |
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame] | 48 | source: "${PWD}/data/super_client_info" |
Akron | 80f2252 | 2024-09-02 12:35:21 +0200 | [diff] [blame] | 49 | target: "/kalamar/super_client_info" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 50 | depends_on: |
51 | kustvakt-full: | ||||
52 | condition: service_started | ||||
53 | full-init: | ||||
54 | condition: service_completed_successfully | ||||
55 | profiles: | ||||
56 | - full | ||||
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 57 | restart: "unless-stopped" |
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame] | 58 | user: root |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 59 | kustvakt: |
Akron | 0336ea0 | 2022-04-03 21:44:12 +0200 | [diff] [blame] | 60 | image: "korap/kustvakt:latest" |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 61 | expose: |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 62 | - 8089 |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 63 | volumes: |
Marc Kupietz | 67b4711 | 2022-05-29 10:16:26 +0200 | [diff] [blame] | 64 | - "${INDEX}:/kustvakt/index:z" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 65 | profiles: |
66 | - lite | ||||
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 67 | restart: "unless-stopped" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 68 | kustvakt-full: |
69 | image: "korap/kustvakt:latest-full" | ||||
70 | expose: | ||||
71 | - 8089 | ||||
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame] | 72 | user: root |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 73 | volumes: |
74 | - "${INDEX}:/kustvakt/index:z" | ||||
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 75 | - type: bind |
Akron | 035ec44 | 2023-12-13 13:28:29 +0100 | [diff] [blame] | 76 | source: "${PWD}/data/" |
77 | target: /kustvakt/data/ | ||||
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 78 | profiles: |
79 | - full | ||||
80 | depends_on: | ||||
81 | full-init: | ||||
82 | condition: service_completed_successfully | ||||
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 83 | restart: "unless-stopped" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 84 | configs: |
85 | super_client_info: | ||||
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 86 | external: true |