forked from Anvilcraft/jmserver
919 B
919 B
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
- Run
docker-compose up
in the testenv directory, and wait for all the containers to start. - Run the
debug_run.sh
shellscript which will start JMServer.
Infos
The docker compose file contains these containers:
- A mariadb databse with a
jensmemes
user, who has the passwordsnens
. This database is set-up with the scheme and some example data. - A caddy HTTP server as a CDN. It serves just
/0/uff.png
as an example meme. - An adminer admin interface for mariadb, allowing easy inspection and modification of the database.
Ports:
- 8080: adminer
- 8081: JM API
- 8082: CDN
- 3306: MariaDB