A few more improvements

This commit is contained in:
Jack Kawell 2021-12-08 01:54:44 -07:00
parent f185c8b5db
commit 293aaff2a5
3 changed files with 15 additions and 9 deletions

View File

@ -11,10 +11,10 @@
1. Copy `.env.example` and save it as `.env` inside the root directory of this repository
2. Edit the `.env` file and add your path to your LEGO® Universe Client after `CLIENT_PATH=`
3. Update other values in the `.env` file as need (be sure to update passwords!)
4. Run `docker-compose up setup --build`
4. Run `docker-compose up --build setup`
5. Run `docker-compose up -d database`
6. Run `docker-compose up -d account-manager brickbuildfix --build`
7. Run `docker-compose up -d darkflame`
6. Run `docker-compose up --build -d account-manager brickbuildfix`
7. Run `docker-compose up --build -d darkflame`
8. Now you can see the output of the server with `docker compose logs -f --tail 100` or `docker-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

View File

@ -33,7 +33,7 @@ services:
- 3306:3306 # (optional) ports only exposed so that DB management tools can connect
darkflame:
container_name: DarkFlameServer
container_name: DarkflameServer
networks:
- darkflame
build:
@ -54,7 +54,7 @@ services:
- "3000-3300:3000-3300/udp"
brickbuildfix:
container_name: DarkFlameBrickBuildFix
container_name: DarkflameBrickBuildFix
networks:
- darkflame
build:
@ -70,7 +70,7 @@ services:
start_period: 40s
account-manager:
container_name: DarkFlameAccountManager
container_name: DarkflameAccountManager
networks:
- darkflame
build:

View File

@ -27,9 +27,15 @@ function symlink_config_files() {
ln -s /configs/worldconfig.ini /app/worldconfig.ini
}
# setup symlinks for volume files
symlink_client_files
symlink_config_files
if [[ ! -f "/app/initialized" ]]; then
# setup symlinks for volume files
symlink_client_files
symlink_config_files
# do not run symlinks more than once
touch /app/initialized
else
echo "Server already initialized"
fi
# start the server
echo "Start MasterServer"