Dockerize Nebula#31
Merged
Merged
Conversation
Collaborator
Author
|
It would be nice for official images to be published on a registry so that they won't have to be built every time too. This would also allow for proper versioning :D |
Melledy
requested changes
Apr 21, 2026
Added `NEBULA_PUBLIC_HOST` and `NEBULA_PUBLIC_PORT` environment variables. Will override config values.
Add `NEBULA_PUBLIC_PORT` environment variable for serverlist.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docker is convenient, idiot-proof, and IMHO will make development a lot more pleasant.
This PR introduces a
Dockerfilethat is used to build a nebula docker image with latest resources included. An additional docker compose manifest is also introduced to allow for quick set up.NEBULA_MONGODB_HOSTandNEBULA_MONGODB_PORT. If set, these two will override the connection string set inconfig.json. This is intended to be used with docker only.datadirectory is now used to storeconfig.jsonas well asdatabase.mv.Get up and running:
docker compose up -dThat's it. Latest resources are built into the images so there will be no worries of outdated resources. A proper mongodb database is also used with data persistence handled by docker volumes.