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