mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
1.2 KiB
1.2 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.example
and save it as.env
inside the root directory of this repository - Edit the
.env
file and add your path to your LEGO® Universe Client afterCLIENT_PATH=
- Update other values in the
.env
file as need (be sure to update passwords!) - Run
docker-compose up setup --build
- Run
docker-compose up -d database
- Run
docker-compose up -d account-manager brickbuildfix --build
- Run
docker-compose up -d darkflame
- Now you can see the output of the server with
docker compose logs -f --tail 100
ordocker-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 --build
ordocker-compose up -d --build