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 | 157387a | 2022-12-05 12:44:06 +0100 | [diff] [blame^] | 34 | configs: |
| 35 | - source: super_client_info |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 36 | target: /kalamar/super_client_info |
Akron | 157387a | 2022-12-05 12:44:06 +0100 | [diff] [blame^] | 37 | mode: 0555 |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 38 | depends_on: |
| 39 | kustvakt-full: |
| 40 | condition: service_started |
| 41 | full-init: |
| 42 | condition: service_completed_successfully |
| 43 | profiles: |
| 44 | - full |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 45 | kustvakt: |
Akron | 0336ea0 | 2022-04-03 21:44:12 +0200 | [diff] [blame] | 46 | image: "korap/kustvakt:latest" |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 47 | expose: |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 48 | - 8089 |
Akron | b03d67b | 2022-02-02 11:54:53 +0100 | [diff] [blame] | 49 | volumes: |
Marc Kupietz | 67b4711 | 2022-05-29 10:16:26 +0200 | [diff] [blame] | 50 | - "${INDEX}:/kustvakt/index:z" |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 51 | profiles: |
| 52 | - lite |
| 53 | kustvakt-full: |
| 54 | image: "korap/kustvakt:latest-full" |
| 55 | expose: |
| 56 | - 8089 |
| 57 | volumes: |
| 58 | - "${INDEX}:/kustvakt/index:z" |
Akron | 157387a | 2022-12-05 12:44:06 +0100 | [diff] [blame^] | 59 | configs: |
| 60 | - source: super_client_info |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 61 | target: /kustvakt/client/super_client_info |
Akron | 157387a | 2022-12-05 12:44:06 +0100 | [diff] [blame^] | 62 | mode: 0555 |
Akron | 62f1608 | 2022-11-21 16:36:58 +0100 | [diff] [blame] | 63 | profiles: |
| 64 | - full |
| 65 | depends_on: |
| 66 | full-init: |
| 67 | condition: service_completed_successfully |
| 68 | configs: |
| 69 | super_client_info: |
Akron | 157387a | 2022-12-05 12:44:06 +0100 | [diff] [blame^] | 70 | file: ./super_client_info |