Skip to content

Using a single FQDN for Teslamate and Grafana under Caddy w/ SSL & Basic Auth #3961

Closed Answered by SemoTech
SemoTech asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @tobiasehlert I knew I saw this somewhere :-)

After a lot of work and support from https://caddy.community/u/francislavoie on the Caddy forums I managed to get this installed from scratch and working, as follows:

1 - Secure setup using Caddy proxy (pulls SSL cert automatically from Let's Encrypt) - needs un-proxied DNS record, and a firewall forward rule for ports 80 and 443 but only into Caddy.
2 - Deployment in Portainer for "teslamate" Stack containing the services: teslamate:, grafana:, postgres database: and mosquitto:. Note that mosquitto: is OPTIONAL should you NOT need to export data to another system like Home Asssitant.
3 - Caddy v2 running as another Docker container ins…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SemoTech
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants