Skip to content
/ mcserver Public

A NextJS project built for deploying and monitoring minecraft servers in a few clicks on top of docker

Notifications You must be signed in to change notification settings

z4roc/mcserver

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

CurseForge API-Key

To use the service you have to provide a CurseForge API-Key. Create a file qs.config.ts in the root directory of this project with following content:

const config = {
    curseforge_api_key:
        "<<API-KEY>>",
};
export { config };

Deployment

Run:

./deploy.sh #.\deploy.bat on Windows

The script will instantiate a container with the app running and pass the docker daemon to it. Now the app can deploy new containers on the host.

It is possible to specify the docker image, container name and host port in the script.

Development

For HotReload it is recommended to execute the server locally.

Docker resp. docker daemon still has to run to deploy container

Gather dependencies:

npm install

Run the dev build

npm run dev

Open http://localhost:3000 with your browser to see the result.

About

A NextJS project built for deploying and monitoring minecraft servers in a few clicks on top of docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages