HaThermos is a simple parodies of the famous Aternos website. It is a web application that allows you to create a Minecraft server in a few clicks. It is a project that I started to learn the basics of web development. It is not intended to be used in production (but it is possible).
In my deployment of HaThermos, I use the following technologies:
- UptimeRobot to monitor the server status
- Netdata to monitor the server resources
- Create a Vanilla Minecraft server in a few clicks
Simply clone the repository and run the following command:
docker-compose up -d
And that's it, you can now access the application at the following address: http://localhost:8090/
To see the logs of a server, you must go on your server in the /var/hathermos/hathermos-data/
directory. You will then have to open the logs.log
file.
To modify the database, you must go on your server in the /var/hathermos/hathermos-data/
directory. You will then have to open the database.db
file.
To get the minecraft servers data, you must go on your server in the /var/hathermos/minecraft-data/
directory. You will see some folder named has the id of the server. In each folder, you will have the minecraft server data.
To get the backups of the minecraft servers and the HaThermos data, you must go on your server in the /var/hathermos/hathermos-backup/
directory. You will see some folder named has the date, the hour and the minute of the backup. In each folder, you will have the minecraft
folder and the data
folder. The minecraft
folder contains the minecraft server data and the data
folder contains the HaThermos data.
You can use the following script :
#!/bin/bash
latest=$(ls -t /var/hathermos/hathermos-backup | head -1)
scp /var/hathermos/hathermos-backup/$latest {user}@{ip}:{path}
To restore the latest backup, you can use this scrpt :
#!/bin/bash
cd /var/hathermos/hathermos-backup/
latest=$(ls -t /var/hathermos/hathermos-backup | head -1)
tar -xzf $latest.tar.gz
cp -r hathermos-data /var/hathermos/hathermos-data
cp -r minecraft-data /var/hathermos/minecraft-data
And to restore a specific backup :
#!/bin/bash
cd /var/hathermos/hathermos-backup/
tar -xzf {backup}.tar.gz
cp -r hathermos-data /var/hathermos/hathermos-data
cp -r minecraft-data /var/hathermos/minecraft-data
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
- Wiibleyde, Gwuill, Sml_Dreams - Initial work - Wiibleyde, Gwuill, Sml_Dreams
- Aternos - Inspiration - Aternos
- itzg - Docker Minecraft server - itzg
This project is licensed under the MIT License - see the LICENSE file for details