Docker install
This document provides the necessary steps for installation of TeslaMate on a any system that runs Docker. For a walkthrough that provides the necessary steps for manual installation see Manual Install.
This setup is recommended only if you are running TeslaMate on your home network, as otherwise your Tesla API tokens might be at risk. If you intend to expose TeslaMate directly to the internet check out the advanced guides.
#
Requirements- Docker (if you are new to Docker, see Installing Docker and Docker Compose)
- A Machine that's always on, so TeslaMate can continually fetch data
- External internet access, to talk to tesla.com
#
InstructionsCreate a file called
docker-compose.yml
with the following content:docker-compose.ymlStart the docker containers with
docker-compose up
. To run the containers in the background add the-d
flag:
#
Usage- Open the web interface http://your-ip-address:4000
- Sign in with your Tesla account
- The Grafana dashboards are available at http://your-ip-address:3000.
Update#
To update the running TeslaMate configuration to the latest version, run the following commands: