DarkflameServer icon indicating copy to clipboard operation
DarkflameServer copied to clipboard

refactor(docker): improve docker experience

Open TheNoim opened this issue 2 years ago • 7 comments

This PR should add some promised improvements for users who are using docker.

My current goal is it to improve the following things:

  • [X] Auto detect client type and root folder
  • [X] Allow to manual set client type
  • [X] Notify darkflame server if setup fails
  • [X] Database hardening
  • [x] Wait for the database to be ready #417
  • [x] Add a wrapper for MasterServer -a to make sure the server is ready
  • [x] Create docker images via GitHub Actions and push it to github registry
  • [ ] Update documentation

TheNoim avatar Feb 04 '22 13:02 TheNoim

Do you want to address #399 here as well? (in case it is really only a small change as suggested in https://github.com/DarkflameUniverse/DarkflameServer/issues/399#issuecomment-1030998040)

Marcono1234 avatar Feb 07 '22 00:02 Marcono1234

@Marcono1234 can you try whether the latest commit resolves the issue or not?

TheNoim avatar Feb 07 '22 15:02 TheNoim

Is this blocked on something that one could help with? If I understand correctly a fix for #399 is included in this. It would be great if this could be merged eventually because as it stands right now the LU experience in docker isn't great because there is no way to add friends.

brick-brick-brick avatar Mar 08 '22 19:03 brick-brick-brick

Is this blocked on something that one could help with? If I understand correctly a fix for https://github.com/DarkflameUniverse/DarkflameServer/issues/399 is included in this. It would be great if this could be merged eventually because as it stands right now the LU experience in docker isn't great because there is no way to add friends.

I just didn't have time for this. But if this is desperate needed, I could make the missing changes in another PR when I have time again. 

TheNoim avatar Mar 10 '22 13:03 TheNoim

@TheNoim Well I wouldn't call it "desperate", this is just a game after all. Thank you for your work on dockerizing all of this btw!

brick-brick-brick avatar Mar 10 '22 17:03 brick-brick-brick

Quick fix you may want to implement in this PR as well: Step 1 in Docker.md says "Copy .env.example." This is impossible since .dockerignore ignores .env.example in this repo :)

dandeto avatar Jun 10 '22 13:06 dandeto

This is impossible since .dockerignore ignores .env.example in this repo :)

Shouldn't be an issue since .dockerignore only ignores files for the Docker build context. I bet you're thinking of .gitignore which doesn't track changes for ignored files and so they won't be included in the repo.

jgkawell avatar Jul 17 '22 19:07 jgkawell

closing due to being stale

aronwk-aaron avatar Oct 31 '22 15:10 aronwk-aaron