-
Notifications
You must be signed in to change notification settings - Fork 112
Add initial Dockerfile and docker-compose for Znuny rel-7_1_7 container deployment #680
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
base: dev
Are you sure you want to change the base?
Conversation
|
@stackdone Thank you for your contribution. I have some questions left and I hope you can answer them for me. I haven't tried the image, maybe it's already there.
|
Or from an interactive shell inside the container:
You can place the .opm file anywhere on your host system — just make sure to mount the directory containing it into the container using a volume. For example, if your .opm file is in ./packages/MyAddon.opm, add this to your docker-compose.yml (see volume example below)
This way, changes to the config file can be applied without rebuilding the image. |
|
@stackdone, can you please separate the web server and the daemon in their own container? This would make stopping the daemon way easier, because at the moment as far as I see cron would start the daemon again. |
Hey there, I'm new to the platform but very interested in have a docker version of znuny. These boot out of the box in the state of having to visit installer.pl I'm not quite sure how to do a proper pull request for this, or if this particular znuny version is of interest anymore. |
Proposed change
This pull request introduces initial Docker support for Znuny by adding:
• A production-ready Dockerfile for building Znuny containers with all required dependencies.
• A docker-compose.yml configuration for setting up a full Znuny + MariaDB stack, including persistent volumes, and defaults.
• Support for runtime configuration via environment variables and build arguments.
• Preconfigured tuning parameters for MariaDB (max_allowed_packet, innodb_log_file_size) based on Znuny installation recommendations.
• Auto-configuration of the database host in Kernel/Config.pm.
These additions simplify local testing, development, and containerized deployment of Znuny.
Type of change
Checklist