From 22e6caa0e64ef93425974ab569b1adf4c96c977e Mon Sep 17 00:00:00 2001 From: Kay Kaprolat Date: Thu, 9 Dec 2021 20:38:15 +0100 Subject: [PATCH] added link to Docker Desktop and details on stopping the server --- Docker.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Docker.md b/Docker.md index 0e6ae3d7..f1e58ebd 100644 --- a/Docker.md +++ b/Docker.md @@ -2,7 +2,7 @@ ## What you need -- Docker (Docker Desktop or on Linux normal Docker) +- Docker ([Docker Desktop](https://hub.docker.com/editions/community/docker-ce-desktop-windows/) or on Linux normal Docker) - Docker-Compose (Included in Docker Desktop) - LEGO® Universe Client @@ -14,8 +14,12 @@ 4. Run `docker-compose up --build setup` 5. Run `docker-compose up -d database` 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. +7. Run `docker-compose build darkflame` +8. Run `docker-compose exec darkflame /app/MasterServer -a` and setup your admin account +9. Run `docker-compose up -d darkflame` +10. 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. Exit this with Ctrl+C. +11. You're ready to connect your client! +12. You can stop the server with `docker-compose stop` and start it again with `docker-compose up -d`. ## Disable brickbuildfix @@ -31,4 +35,4 @@ services: - donotstart ``` -3. Now run `docker compose up -d --build` or `docker-compose up -d --build` \ No newline at end of file +3. Now run `docker compose up -d --build` or `docker-compose up -d --build`