Open pancake-boy opened 7 months ago
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 But still not working
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: https://github.com/Squidex/squidex-hosting/tree/master/docker-compose/proxy-caddy
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. It seems to work but not sure what issues I will run into later without https
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