Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Application Docker Support #20

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

authsec
Copy link

@authsec authsec commented Jan 20, 2019

Hi,

I further dockerized the application, so users should be able to just pull/configure the images as they are used to with docker. This required me changing a bit of the configuration code as well.

However, as I am not well-versed with node development, there may be better options.

I also took the liberty to rename the app labels, as user might want to go for copy and paste integration and already might have a docker container named "app"/"db" or "mail".

I hope this helps publishing some "official" images.

Cheers,
Jens

Jens Frey added 5 commits January 20, 2019 19:00
Modify the compose file so it’s even easier to
build a custom version for you.
Utilize retrieving the configuration items from the
process environment in node.

This is a better fit with the docker ecosystem and
allows endusers to just pull/configure the image as
they are used to with docker.
@JoeBiellik
Copy link
Owner

Thanks for this, its probably a good idea to ship this project in Docker images now its stable.

My main concern is how to package up the two images, ideally I'd like to use Docker Hub automated builds but AFAIK it only supports one image per repo. I'm not sure how good practise it is having multiple separate images using tags.

Do you think its better to make two Docker images pleasenospam-app and pleasenospam-mail rather than as tags?

@authsec
Copy link
Author

authsec commented Jun 15, 2019

I guess it would make sense to have two images, so you can upgrade the mail component while keeping the app part running or vice versa.

I am unfortunately not familiar with Docker Hub automated builds but if they only support one image per repo you might need to split up the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants