jmserver/testenv
LordMZTE 5b28baebb8 add ports to testenv/README.md 2021-08-01 00:13:24 +02:00
..
cdn/0 improve testenv 2021-07-31 23:51:07 +02:00
mariadb_init improve testenv 2021-07-31 23:51:07 +02:00
README.md add ports to testenv/README.md 2021-08-01 00:13:24 +02:00
debug_run.sh improve testenv 2021-07-31 23:51:07 +02:00
docker-compose.yml improve testenv 2021-07-31 23:51:07 +02:00

README.md

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.

Ports:

  • 8080: adminer
  • 8081: JM API
  • 8082: CDN
  • 3306: MariaDB