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 |
| 13 | full-init: |
| 14 | image: "korap/kalamar:latest-conv" |
| 15 | command: super_client_info kalamar /kalamar/data/super_client_info |
| 16 | volumes: |
| 17 | - type: bind |
| 18 | source: "${PWD}" |
| 19 | target: "/kalamar/data" |
| 20 | profiles: |
| 21 | - full |
| 22 | - init |
| 23 | user: root |
| 24 | kalamar-full: |
| 25 | image: "korap/kalamar:latest-conv" |
| 26 | ports: |
| 27 | - "64543:64543" |
| 28 | environment: |
| 29 | KALAMAR_API: "http://kustvakt-full:8089/api/" |
| 30 | volumes: |
| 31 | - type: bind |
| 32 | source: "${PWD}/kalamar.production.conf" |
| 33 | target: "/kalamar/kalamar.production.conf" |
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 34 | - type: bind |
| 35 | source: "${PWD}/super_client_info" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 36 | target: /kalamar/super_client_info |
| 37 | depends_on: |
| 38 | kustvakt-full: |
| 39 | condition: service_started |
| 40 | full-init: |
| 41 | condition: service_completed_successfully |
| 42 | profiles: |
| 43 | - full |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 44 | kustvakt: |
Akron | 0336ea0 | 2022-04-03 21:44:12 +0200 | [diff] [blame] | 45 | image: "korap/kustvakt:latest" |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 46 | expose: |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 47 | - 8089 |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 48 | volumes: |
Marc Kupietz | 67b4711 | 2022-05-29 10:16:26 +0200 | [diff] [blame] | 49 | - "${INDEX}:/kustvakt/index:z" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 50 | profiles: |
| 51 | - lite |
| 52 | kustvakt-full: |
| 53 | image: "korap/kustvakt:latest-full" |
| 54 | expose: |
| 55 | - 8089 |
| 56 | volumes: |
| 57 | - "${INDEX}:/kustvakt/index:z" |
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 58 | - type: bind |
| 59 | source: "${PWD}/super_client_info" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 60 | target: /kustvakt/client/super_client_info |
| 61 | profiles: |
| 62 | - full |
| 63 | depends_on: |
| 64 | full-init: |
| 65 | condition: service_completed_successfully |
| 66 | configs: |
| 67 | super_client_info: |
Akron | 5c85901 | 2022-12-06 11:03:32 +0100 | [diff] [blame] | 68 | external: true |