Simplify full docker usage without conf file
Change-Id: I70b14af0ccef22524ca7b32b9fbddd0439d095f5
diff --git a/Readme.md b/Readme.md
index 7eb5c0a..284bc5f 100644
--- a/Readme.md
+++ b/Readme.md
@@ -50,21 +50,7 @@
To use your own index, please follow the instructions
on [Corpus Conversion](#corpus-conversion) first.
-To run the service with a user management system, create a file `$(pwd)/data/kalamar.production.conf` containing the following configuration:
-
-```perl
-{
- Kalamar => {
- plugins => ['Auth']
- },
- 'Kalamar-Auth' => {
- client_file => '/kalamar/super_client_info'
- }
-}
-```
-
-
-Then start the service with
+To run the service with a user management system, start the service with
```shell
INDEX=./index docker-compose -p korap --profile=full up
diff --git a/compose.yaml b/compose.yaml
index 59f5610..e8694b2 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -38,13 +38,15 @@
- "64543:64543"
environment:
KALAMAR_API: "http://kustvakt-full:8089/api/"
+ KALAMAR_PLUGINS: "Auth"
+ KALAMAR_CLIENT_FILE: "/kalamar/super_client_info"
volumes:
- type: bind
source: "${PWD}/data/kalamar.production.conf"
target: "/kalamar/kalamar.production.conf"
- type: bind
source: "${PWD}/data/super_client_info"
- target: /kalamar/super_client_info
+ target: "/kalamar/super_client_info"
depends_on:
kustvakt-full:
condition: service_started