mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-08 17:18:25 +00:00
1.3 KiB
1.3 KiB
Run the Darkflame Server inside Docker
What you need
- Docker (Docker Desktop or on Linux normal Docker)
- Docker-Compose (Included in Docker Desktop)
- LEGO® Universe Client
Run server inside Docker
- Copy
.env.exampleand save it as.envinside the root directory of this repository - Edit the
.envfile and add your path to your LEGO® Universe Client afterCLIENT_PATH= - Add some random long string after
ACCOUNT_MANAGER_SECRET=in the.envfile - (Optional) You can decrease the build time if you change number behind
BUILD_THREADS=in the.envfile. You should change it to the number of threads your system have. - Run
docker compose up -d --buildordocker-compose up -d --buildand wait for it to complete - Now you can see the output of the server with
docker compose logs -f --tail 100ordocker-compose logs -f --tail 100. This can help you understand issues and there you can also see when the server finishes it's startup.
Disable brickbuildfix
If you don't need the http server running on port 80 do this:
- Create a file with the name
docker-compose.override.yml - Paste this content:
services:
brickbuildfix:
profiles:
- donotstart
- Now run
docker compose up -d --buildordocker-compose up -d --build