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

What can we learn and implement from the Docker strategy of other webmail project? #1146

Open
marclaporte opened this issue Aug 4, 2024 · 3 comments

Comments

@marclaporte
Copy link
Member

marclaporte commented Aug 4, 2024

We made a gigantic step forward with: cypht-org/cypht-docker#31 and we now have https://hub.docker.com/r/cypht/cypht

Now, as a lower priority, let's review what others are doing to get some good ideas :-)

@jonocodes
Copy link
Contributor

Good idea. Here are the things that I think come up here after looking at those repos:

1. ssl/https

Snappy shows the use of self signed certs, presumably in development. I tend to think this is not a good idea. But we can discuss it.
In terms of production deployment, we should definitely tell/recommend that people use ssl. I dont think we should/need to tell them how to do that since there are many ways. That being said we can link to one of our pages that shows one possible way to do it for those who are not familiar. (I thought there was a wiki page here that used caddy or traefik or something.)

2. imprecise version numbering

We can point tags to eachother like:
2 -> 2.1 -> 2.1.3

Such that the user can pull just the major version and not worry about the minor version. This is a bit hacky, but fairly common in docker. I tend to think its not worth the trouble, but we can talk more about it.

3. configurable logging

We should be using env vars to tune logging, as that is common practice in or outside of docker. There has been some discussion around this here:
#1027

@marclaporte
Copy link
Member Author

Related: #1175

@marclaporte
Copy link
Member Author

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

No branches or pull requests

2 participants