-
Notifications
You must be signed in to change notification settings - Fork 71
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
How to run docker compose on localhost? #234
Comments
Good question. The problem is that notifo needs https for authentication. I do not have a setup that just works, because afaik you cannot create a trusted localhost certificate using lets encrypt. |
I tried to trust the root cert as documented here: https://caddyserver.com/docs/running#docker-compose |
Here they use the internal flag, but I am not sure how to apply if dynamically: |
Where do I add this “tls internal“ just to try it out? |
The caddy proxy is defined here: You have to add the "tls internal" to the Caddyfile. |
I have tested it and added a readme with some instructions: https://github.com/notifo-io/notifo/tree/main/deployment/docker-compose |
So you have added SITE_SETTINGS (actually SITE_CUSTOM) to your caddyfile and published caddy-proxy v2.7.6 I have tried the new docker-compose file but still giving me the same error. Strange |
At the moment, I resorted to exposing the port for notifo_notifo and use http. |
Have you read the readme? |
Things I have tried
NOTIFO_DOMAIN=localhost
notifo_proxy-1 | 2024/04/15 07:48:46 http: TLS handshake error from 172.18.0.1:38592: remote error: tls: unknown certificate
The text was updated successfully, but these errors were encountered: