-
Notifications
You must be signed in to change notification settings - Fork 158
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
Proposal: Dockerfile rewrite #256
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Kevin Decherf <[email protected]>
A new, better-written Docker image for Wallabag would be great! Thank you for working on this. I am not an expert in Docker, but I do have a couple questions/comments:
I apologize for the barrage of questions. I could also potentially help with documentation for this image. Thanks again! |
I also would really like a new docker image too :)
. |
Quick comment to not forget this interesting fact: This rework enables us to decrease image size from ~580MB to ~397MB. |
@Kdecherf Thank you for the attempt. There are some parts of this PR that I don't like:
I opened #270 with the goal to be backward compatible and reduce the size. Previous 573.1 MB / This PR 225.8 MB |
The only needed backwards compatibility is that the database upgrades run, and that ain't even working with the current one. #236. But I second that there should be a normal version also hosting the static files, so you can easily slap it behind any reverse proxy. |
It would be great if the image didn't require to be run as root inside the container for added security.
In podman I can add |
@Kdecherf can I help you to finish this PR? |
@ngosang I need to take some time to rebase my PR to reflect recent changes. It seems that a discussion has been started to replace ansible. As I didn't address this point in my PR, we could consider that it will be handled separately, thus we could proceed with this PR to move forward. I'm reconsidering my position regarding the embedded webserver, I'll work to keep it |
@Kdecherf I already did all the work. Review is pending but I don't see any reason to be rejected. I tested it well and I'm keeping the same functionality. Maybe you can help in the review process #307 |
Has any more progress been made on this issue? Its a shame I cannot use wallabag easily with truenas scale |
This PR is a proposal to rewrite the whole Dockerfile used for wallabag.
I made this version while moving my own instance to Docker, I wanted to simplify the management of the containers while removing some abstractions from within wallabag's image (like ansible, the process management and nginx).
Here are some important considerations compared to the former Dockerfile:
Here are some considerations that may require discussion and/or improvement:
patches/
folderSome changes are "hardcoded" for my own need (like the use of redis in the session_handler php config), please consider them as a way to start a discussion about evolutions and improvements we can make.
Feel free to comment and ask any questions you may have about that.