MatthewL246 / pretendo-docker

An unofficial Docker Compose setup for self-hosting a Pretendo Network server.
https://matthewl246.github.io/pretendo-docker/
GNU Affero General Public License v3.0
54 stars 9 forks source link

image on hub.docker.com ? #170

Closed darkuser89 closed 3 weeks ago

darkuser89 commented 3 weeks ago

Can you upload a finished image to hub.docker.com so that it can be downloaded?

MatthewL246 commented 3 weeks ago

Unfortunately, it's a bit more complicated than that. Since this is a Docker Compose project, it requires running a separate Docker container for each server, and each of them uses a different image. The various scripts included in this repo are also required for first-time server setup. While it would be possible to write a completely custom Dockerfile that adds all of the Pretendo servers and associated scripts to a single image, this would make it more difficult to develop on a single server at a time, increase the complexity of maintaining this project, and (subjectively) not align with the best practices for using containers.

I should note that public images for the individual Pretendo servers already exist, such as the account server image. I would like to allow using these pre-made images instead of requiring everyone to build the images themselves because that is obviously a waste of time and resources for most non-developers. I have added this as a future task to my roadmap (#50).

However, I don't currently use them because I'm not sure what the best way to keep the image versions in compose.yml up-to-date and in sync with the submodules is.