diff --git a/README.md b/README.md
index 75ac67ab17c175865537bbc02ae669fdd5070890..eca5bab9a3f2ecffe9b7ba2ccceaa25ba42ba743 100644
--- a/README.md
+++ b/README.md
@@ -67,6 +67,11 @@ Rename or copy the sample configuration. Please change all passwords in the conf
 cp .env.sample .env
 ```
 
+At the first run, create the database with the following command:
+```bash
+docker compose exec -it rights-engine sh -c 'python3 manage.py sqlflush | sed s/TRUNCATE/DROP\ TABLE\ IF\ EXISTS/g | python3 manage.py dbshell && echo DROP\ TABLE\ IF\ EXISTS\ django_migrations\; | python3 manage.py dbshell && python3 manage.py migrate && python3 manage.py loaddata fixtures/initial_db.json'
+```
+
 Now you can start the rights engine with the following command
 ```bash
 docker compose up -d
@@ -86,6 +91,11 @@ cd analytics-engine
 cp .env.sample .env
 ```
 
+At the first run, you need to seed the database with the following command
+```bash
+docker compose down && docker compose up -d && sleep 30 && docker compose exec -it scheduler sh -c 'scheduler create-db' && docker compose exec -it scheduler sh -c 'scheduler read-configs'
+```
+
 Now you can start the analytics engine with the following command
 ```bash
 docker compose up -d
diff --git a/single-compose/.env.sample b/single-compose/.env.sample
index efd1610d044589e37bb114b97db0071660ded088..49f89a3216469ce7a8ac36a83de8441223e494ca 100644
--- a/single-compose/.env.sample
+++ b/single-compose/.env.sample
@@ -10,7 +10,7 @@ LRS_HOST=http://learninglocker.digitallearning.gmbh:8080
 LRS_TOKEN=CHANGE_ME
 MONGO_USER=root
 MONGO_PASSWORT=CHANGE_ME
-LRS_CONNECTION_STRING=mongodb://root:CHANGE_ME@127.0.0.1:27017
+LRS_CONNECTION_STRING=mongodb://root:CHANGE_ME@mongodb_container:27017
 LRS_MONGO_DB_NAME=lrs
 DATA_DISCLOSURE_EXPIRATION=30
 DATA_DISCLOSURE_LOCATION=/usr/src/app/backend/data_disclosure_zips
diff --git a/single-compose/docker-compose.yml b/single-compose/docker-compose.yml
index 499da3a7d0d3e2f893b2947ec29c44b08a2f540e..ced7796434adc8702e6ed52a4a50cc8ae991fd42 100644
--- a/single-compose/docker-compose.yml
+++ b/single-compose/docker-compose.yml
@@ -35,6 +35,7 @@ services:
     depends_on:
       - database
       - redis_db
+      - mongodb_container
     volumes:
       - ".env:/usr/src/app/backend/.env"
       - "./id_rsa.pub:/usr/src/app/backend/id_rsa.pub"
@@ -51,6 +52,7 @@ services:
     depends_on:
       - database
       - redis_db
+      - mongodb_container
     volumes:
       - ".env:/usr/src/app/backend/.env"
       - "./id_rsa.pub:/usr/src/app/backend/id_rsa.pub"
@@ -67,6 +69,7 @@ services:
       - database
       - redis_db
       - beat
+      - mongodb_container
     volumes:
       - ".env:/usr/src/app/backend/.env"
       - "./id_rsa.pub:/usr/src/app/backend/id_rsa.pub"