Replace use of paulczar/omgwtfssl image in examples
@joshtrichards @tzerber
Summary
I have replaced the outdated paulczar/omgwtfssl image used for self-signed certificate generation with a custom cert-generator service built on Alpine and OpenSSL. The new solution supports environment-based configuration, improving flexibility and maintainability.
What was changed
- Removed
paulczar/omgwtfsslservice fromdocker-compose.yml - Added a new
cert-generatorservice with:- Dockerfile using
alpineandopenssl entrypoint.shscript to read cert parameters from environment variables
- Dockerfile using
- Mounted cert output to existing shared
certsvolume for use by other services (likenginx-proxy)
Why it matters
paulczar/omgwtfsslis no longer maintained- The new solution is minimal, secure, and customizable
- Aligns better with modern Docker Compose practices
How to test
- Build and run the
cert-generator:docker compose build cert-generator docker compose up cert-generator
@joshtrichards can you review this one !!
While I haven't tested it, it looks okay. A note : Add some documentation around it. I know about several ways of "oneline ssl via random alpine image" long commands, and these tend to confuse people. Use some sort of placeholder like <PUT.DOMAIN.HERE> and maybe add few lines to the docs about it.
Overall, it looks good. Will test it as soon as I can.
@tzerber i have just added a section which includes the replacement of the paulczar/omgwtfssl i don't think i have used any domain information . and document updation can you clarify little on that .
@tzerber i have just added a section which includes the replacement of the paulczar/omgwtfssl i don't think i have used any domain information . and document updation can you clarify little on that .
Sorry for the late reply, but I was away from the civilization for a while.
Recently we started adding additional information in the readme.md / inline on the compose file for any non-nextcloud third party programs providing both links to their documents/manuals and some information on how to use that software in combination with Nextcloud.