mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
A few more improvements
This commit is contained in:
parent
f185c8b5db
commit
293aaff2a5
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user