Skip to content
Snippets Groups Projects
Unverified Commit bdecc6cd authored by Martin Weise's avatar Martin Weise
Browse files

Added containers

parent bdddc5e5
No related branches found
No related tags found
No related merge requests found
Pipeline #6018 passed
...@@ -35,7 +35,8 @@ we only consider Debian. ...@@ -35,7 +35,8 @@ we only consider Debian.
### Docker Compose ### 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 Download the
latest [`docker-compose.yml`](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/master/docker-compose.prod.yml), 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: ...@@ -63,6 +64,13 @@ View the logs:
docker compose logs -f 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> 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 Please be warned that the default configuration is not intended for public deployments. It is only intended to have a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment