Make sure docker compose (Go version) is used as a CLI plugin.
The Python version docker-compose is outdated since 2020.
Change-Id: I741d325724b669d2fe4b4c446a7cdf5270020a9b
diff --git a/Readme.md b/Readme.md
index 284bc5f..c6e4f5b 100644
--- a/Readme.md
+++ b/Readme.md
@@ -20,7 +20,7 @@
## Requirements
Install [docker](https://www.docker.com/) and
-[docker compose](https://github.com/docker/compose) (>= v2).
+[docker compose](https://github.com/docker/compose) (>= v2; as a CLI plugin).
## Starting
@@ -28,7 +28,7 @@
For testing, there is a test index available as a docker image. Just run
```shell
-INDEX='example-index' docker-compose -p korap --profile=lite --profile=example up
+INDEX='example-index' docker compose -p korap --profile=lite --profile=example up
```
to start the example image and the service with Linux
@@ -41,7 +41,7 @@
run
```shell
-INDEX=./index docker-compose -p korap --profile=lite up
+INDEX=./index docker compose -p korap --profile=lite up
```
This will make the frontend be available at
@@ -50,10 +50,10 @@
To use your own index, please follow the instructions
on [Corpus Conversion](#corpus-conversion) first.
-To run the service with a user management system, start the service with
+To run the service with a user management system, start it with
```shell
-INDEX=./index docker-compose -p korap --profile=full up
+INDEX=./index docker compose -p korap --profile=full up
```
Login with `user1` and `password1`. To change authentication settings, see the `/kusvakt/ldap` folder inside the docker container and Kustvakt's [LDAP Settings Wiki](https://github.com/KorAP/Kustvakt/wiki/LDAP-Setting) for documentation.
@@ -151,7 +151,7 @@
with Windows, you have to start
```powershell
-$env:INDEX='example-index'; $env:PWD='.'; docker-compose -p korap --profile=lite --profile=example up
+$env:INDEX='example-index'; $env:PWD='.'; docker compose -p korap --profile=lite --profile=example up
```
diff --git a/compose.yaml b/compose.yaml
index e8694b2..6e44d2b 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -1,4 +1,3 @@
-version: '3.8'
volumes:
example-index:
services: