blob: 0fec832d6385cbb05729f5408af51604bbb04bb1 [file] [log] [blame]
volumes:
example-index:
services:
kalamar:
image: "korap/kalamar:v0.60.0-DNB-6"
ports:
- "4000:64543"
environment:
KALAMAR_API: "http://kustvakt:8089/api/"
depends_on:
- kustvakt
volumes:
- type: bind
source: ./html/robots.txt
target: /kalamar/public/robots.txt
- type: bind
source: ./data/kalamar-xl.conf
target: /kalamar/kalamar.production.conf
- type: bind
source: ./data/doc/buchpreis.html.ep
target: /kalamar/templates/custom/doc/buchpreis.html.ep
- type: bind
source: ./data/doc/intro.html.ep
target: /kalamar/templates/custom/intro.html.ep
- type: bind
source: ./data/partial/citation.html.ep
target: /kalamar/templates/custom/partial/citation.html.ep
- type: bind
source: ./data/wiki.plugins.xl.json
target: /kalamar/wiki.plugins.json
profiles:
- lite
restart: "unless-stopped"
kustvakt:
image: "korap/kustvakt:v0.79-DNB-3-lite"
ports:
- "8091:8089"
user: root
volumes:
- "${INDEX:-/mnt/data/KorAP@DNB/Cache/target.xl/deliko.xl.index}:/kustvakt/index:z"
- type: bind
source: "${PWD}/data/"
target: /kustvakt/data/
profiles:
- lite
restart: "unless-stopped"
kalamar-export-plugin:
image: "korap/kalamar-plugin-export:latest"
depends_on:
- kustvakt
- kalamar
volumes:
- type: bind
source: ./data/exportPlugin.xl.conf
target: /export/exportPlugin.conf
profiles:
- lite
restart: "unless-stopped"