mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 15:07:28 +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
|
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=`
|
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!)
|
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`
|
5. Run `docker-compose up -d database`
|
||||||
6. Run `docker-compose up -d account-manager brickbuildfix --build`
|
6. Run `docker-compose up --build -d account-manager brickbuildfix`
|
||||||
7. Run `docker-compose up -d darkflame`
|
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.
|
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
|
## Disable brickbuildfix
|
||||||
|
@ -33,7 +33,7 @@ services:
|
|||||||
- 3306:3306 # (optional) ports only exposed so that DB management tools can connect
|
- 3306:3306 # (optional) ports only exposed so that DB management tools can connect
|
||||||
|
|
||||||
darkflame:
|
darkflame:
|
||||||
container_name: DarkFlameServer
|
container_name: DarkflameServer
|
||||||
networks:
|
networks:
|
||||||
- darkflame
|
- darkflame
|
||||||
build:
|
build:
|
||||||
@ -54,7 +54,7 @@ services:
|
|||||||
- "3000-3300:3000-3300/udp"
|
- "3000-3300:3000-3300/udp"
|
||||||
|
|
||||||
brickbuildfix:
|
brickbuildfix:
|
||||||
container_name: DarkFlameBrickBuildFix
|
container_name: DarkflameBrickBuildFix
|
||||||
networks:
|
networks:
|
||||||
- darkflame
|
- darkflame
|
||||||
build:
|
build:
|
||||||
@ -70,7 +70,7 @@ services:
|
|||||||
start_period: 40s
|
start_period: 40s
|
||||||
|
|
||||||
account-manager:
|
account-manager:
|
||||||
container_name: DarkFlameAccountManager
|
container_name: DarkflameAccountManager
|
||||||
networks:
|
networks:
|
||||||
- darkflame
|
- darkflame
|
||||||
build:
|
build:
|
||||||
|
@ -27,9 +27,15 @@ function symlink_config_files() {
|
|||||||
ln -s /configs/worldconfig.ini /app/worldconfig.ini
|
ln -s /configs/worldconfig.ini /app/worldconfig.ini
|
||||||
}
|
}
|
||||||
|
|
||||||
# setup symlinks for volume files
|
if [[ ! -f "/app/initialized" ]]; then
|
||||||
symlink_client_files
|
# setup symlinks for volume files
|
||||||
symlink_config_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
|
# start the server
|
||||||
echo "Start MasterServer"
|
echo "Start MasterServer"
|
||||||
|
Loading…
Reference in New Issue
Block a user