| Marc Kupietz | b769699 | 2024-03-18 17:41:15 +0100 | [diff] [blame] | 1 | version: '3.8' |
| 2 | volumes: |
| 3 | example-index: |
| 4 | services: |
| 5 | kalamar: |
| 6 | image: "korap/kalamar:dnb" |
| 7 | ports: |
| Marc Kupietz | 68928f8 | 2024-07-03 09:55:57 +0200 | [diff] [blame^] | 8 | - "4000:64543" |
| Marc Kupietz | b769699 | 2024-03-18 17:41:15 +0100 | [diff] [blame] | 9 | environment: |
| 10 | KALAMAR_API: "http://kustvakt:8089/api/" |
| 11 | depends_on: |
| 12 | - kustvakt |
| Marc Kupietz | 8d47303 | 2024-04-23 09:44:01 +0200 | [diff] [blame] | 13 | volumes: |
| 14 | - type: bind |
| Marc Kupietz | 7ba4273 | 2024-07-03 09:51:41 +0200 | [diff] [blame] | 15 | source: /home/kupietz/epub2i5/html/robots.txt |
| Marc Kupietz | 8d47303 | 2024-04-23 09:44:01 +0200 | [diff] [blame] | 16 | target: /kalamar/public/robots.txt |
| Marc Kupietz | b769699 | 2024-03-18 17:41:15 +0100 | [diff] [blame] | 17 | profiles: |
| 18 | - lite |
| 19 | restart: "unless-stopped" |
| 20 | full-init: |
| 21 | image: "korap/kalamar:latest-conv" |
| 22 | command: super_client_info kalamar /kalamar/data/super_client_info |
| 23 | volumes: |
| 24 | - type: bind |
| 25 | source: "${PWD}/data/" |
| 26 | target: "/kalamar/data" |
| 27 | profiles: |
| 28 | - full |
| 29 | - init |
| 30 | user: root |
| 31 | restart: "no" |
| 32 | kalamar-full: |
| 33 | image: "korap/kalamar:latest-conv" |
| 34 | ports: |
| 35 | - "64543:64543" |
| 36 | environment: |
| 37 | KALAMAR_API: "http://kustvakt-full:8089/api/" |
| 38 | volumes: |
| 39 | - type: bind |
| 40 | source: "${PWD}/data/kalamar.production.conf" |
| 41 | target: "/kalamar/kalamar.production.conf" |
| 42 | - type: bind |
| 43 | source: "${PWD}/data/super_client_info" |
| 44 | target: /kalamar/super_client_info |
| 45 | depends_on: |
| 46 | kustvakt-full: |
| 47 | condition: service_started |
| 48 | full-init: |
| 49 | condition: service_completed_successfully |
| 50 | profiles: |
| 51 | - full |
| 52 | restart: "unless-stopped" |
| 53 | user: root |
| 54 | kustvakt: |
| Marc Kupietz | 3e30bb8 | 2024-07-03 09:54:10 +0200 | [diff] [blame] | 55 | image: "korap/kustvakt:0.73.2" |
| 56 | ports: |
| 57 | - "8089:8089" |
| 58 | user: root |
| Marc Kupietz | b769699 | 2024-03-18 17:41:15 +0100 | [diff] [blame] | 59 | volumes: |
| Marc Kupietz | 7ba4273 | 2024-07-03 09:51:41 +0200 | [diff] [blame] | 60 | - "/home/kupietz/epub2i5/dnb.index:/kustvakt/index:z" |
| 61 | - type: bind |
| 62 | source: "/home/yaddehige/epub2i5/data/" |
| 63 | target: /kustvakt/data/ |
| Marc Kupietz | b769699 | 2024-03-18 17:41:15 +0100 | [diff] [blame] | 64 | profiles: |
| 65 | - lite |
| 66 | restart: "unless-stopped" |
| 67 | kustvakt-full: |
| 68 | image: "korap/kustvakt:latest-full" |
| 69 | expose: |
| 70 | - 8089 |
| 71 | user: root |
| 72 | volumes: |
| Marc Kupietz | 7ba4273 | 2024-07-03 09:51:41 +0200 | [diff] [blame] | 73 | - "/home/kupietz/epub2i5/dnb.index:/kustvakt/index:z" |
| Marc Kupietz | b769699 | 2024-03-18 17:41:15 +0100 | [diff] [blame] | 74 | - type: bind |
| Marc Kupietz | 7ba4273 | 2024-07-03 09:51:41 +0200 | [diff] [blame] | 75 | source: "/home/kupietz/epub2i5/data/" |
| Marc Kupietz | b769699 | 2024-03-18 17:41:15 +0100 | [diff] [blame] | 76 | target: /kustvakt/data/ |
| 77 | profiles: |
| 78 | - full |
| 79 | depends_on: |
| 80 | full-init: |
| 81 | condition: service_completed_successfully |
| 82 | restart: "unless-stopped" |
| 83 | configs: |
| 84 | super_client_info: |
| 85 | external: true |