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