From 80be0f98f6e7f81b8ce0a4871e262c4b59bba6b1 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sat, 31 Jul 2021 23:59:16 +0200 Subject: [PATCH] add testenv README --- testenv/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testenv/README.md diff --git a/testenv/README.md b/testenv/README.md new file mode 100644 index 0000000..3ad553c --- /dev/null +++ b/testenv/README.md @@ -0,0 +1,16 @@ +# JMServer testing environment +This directory contains a setup that can be used to run the JMServer for debugging. + +It contains a `docker-compose.yml` file which can run everything needed for JMServer in docker containers, +and also a script to run JMServer configured to use these containers. + +## How to use +1. Run `docker-compose up` in the testenv directory, and wait for all the containers to start. +2. Run the `debug_run.sh` shellscript which will start JMServer. + +## Infos +The docker compose file contains these containers: +1. A mariadb databse with a `jensmemes` user, who has the password `snens`. This database is set-up with the scheme and some example data. +2. A caddy HTTP server as a CDN. It serves just `/0/uff.png` as an example meme. +3. An adminer admin interface for mariadb, allowing easy inspection and modification of the database. +