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 |
| 19 | source: "${PWD}" |
| 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 |
| 34 | source: "${PWD}/kalamar.production.conf" |
| 35 | target: "/kalamar/kalamar.production.conf" |
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 36 | - type: bind |
| 37 | source: "${PWD}/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 | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 47 | kustvakt: |
Akron | 0336ea0 | 2022-04-03 21:44:12 +0200 | [diff] [blame] | 48 | image: "korap/kustvakt:latest" |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 49 | expose: |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 50 | - 8089 |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 51 | volumes: |
Marc Kupietz | 67b4711 | 2022-05-29 10:16:26 +0200 | [diff] [blame] | 52 | - "${INDEX}:/kustvakt/index:z" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 53 | profiles: |
| 54 | - lite |
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 55 | restart: "unless-stopped" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 56 | kustvakt-full: |
| 57 | image: "korap/kustvakt:latest-full" |
| 58 | expose: |
| 59 | - 8089 |
| 60 | volumes: |
| 61 | - "${INDEX}:/kustvakt/index:z" |
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 62 | - type: bind |
| 63 | source: "${PWD}/super_client_info" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 64 | target: /kustvakt/client/super_client_info |
| 65 | profiles: |
| 66 | - full |
| 67 | depends_on: |
| 68 | full-init: |
| 69 | condition: service_completed_successfully |
Akron | 0268a9f | 2023-02-06 09:50:54 +0100 | [diff] [blame] | 70 | restart: "unless-stopped" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 71 | configs: |
| 72 | super_client_info: |
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 73 | external: true |