From bdecc6cd700ab3acc72af9dca24778f3d6dcab43 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Mon, 26 Jun 2023 08:22:20 +0200
Subject: [PATCH] Added containers

---
 docs/get-started.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/docs/get-started.md b/docs/get-started.md
index 125d99a..eecbd29 100644
--- a/docs/get-started.md
+++ b/docs/get-started.md
@@ -35,7 +35,8 @@ we only consider Debian.
 
 ### Docker Compose
 
-We maintain a rapid prototype deployment option through Docker Compose (v2.17.0 and newer).
+We maintain a rapid prototype deployment option through Docker Compose (v2.17.0 and newer). This deployment creates the
+core infrastructure and a single Docker container for all user-generated databases.
 
 Download the
 latest [`docker-compose.yml`](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/master/docker-compose.prod.yml),
@@ -63,6 +64,13 @@ View the logs:
 
     docker compose logs -f
 
+The Metadata Database still needs to know that the Docker container that holds all user-generated databases exists, we
+need to insert it:
+
+    mariadb -h 127.0.0.1 -D fda -u root -pdbrepo -e "INSERT INTO `fda`.`mdb_containers` \
+    (name, internal_name, image_id, host, port, privileged_username, privileged_password) \
+    VALUES ('MariaDB 10.5', 'mariadb_10_5', 1, 'user-db', 3306, 'root', 'dbrepo')"
+
 You should now be able to view the front end at <a href="http://127.0.0.1:80" target="_blank">http://127.0.0.1:80</a>
 
 Please be warned that the default configuration is not intended for public deployments. It is only intended to have a
-- 
GitLab