Add Dockerfiles + Compose#755
Conversation
|
Hey, this is a solid PoC and shows that Znuny can run in Docker, but I see a few structural issues for a default configuration:
|
|
@eyazi Thank you for the feedback, I'll refine the default configuration and post here when i've got news. |
|
@eyazi Hey, i've updated the PR: The entire application directory is mounted as a volume, which makes updates and rollbacks harder because application code and persistent data are mixed; usually only a few paths need to be persistent (e.g. Kernel/Config.pm, attachments, logs). Some environment-specific settings (like the database host and SMTP) are hardcoded. The daemon runs in the background instead of as the main container process, so Docker can’t reliably detect whether the daemon is running or restart it if it fails. |
|
@rkaldung Have you had a chance to review this yet? |
Only on a high level because we're right in the pre-release of 7.3. The detailed review is on my agenda right after the release. |
|
@parkingups69-netizen We won't merge this PR, but use it as the initial commit for https://github.com/znuny/znuny-docker |
Proposed change
Type of change
1 - 🚀 feature' - New feature (which adds functionality to an existing integration)
Checklist