Skip to content

Commit

Permalink
Simplify full docker usage without conf file
Browse files Browse the repository at this point in the history
Change-Id: I70b14af0ccef22524ca7b32b9fbddd0439d095f5
  • Loading branch information
Akron authored and kupietz committed Sep 2, 2024
1 parent 8adce77 commit 80f2252
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
16 changes: 1 addition & 15 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,7 @@ This will make the frontend be available at
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
Expand Down
4 changes: 3 additions & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ services:
- "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
Expand Down

0 comments on commit 80f2252

Please sign in to comment.