Thanks to the good folks at Teslamate we have an easy and cheap way to store our Tesla’s driving data. The setup process is pretty simple so far.

1. Download docker on Your Synology NAS

Open your Synology NAS web UI, go into Package Center and install the Docker package.

2. Prepare docker-compose.yaml file

Follow the official guideline: https://docs.teslamate.org/docs/installation/docker to generate the recommended docker-compose.yaml file, fill in all the required fields. Put it to the side and be prepared to paste in the docker-compose.yaml data later.

3. SSH into Synology NAS

Enabled SSH on your Synology NAS by opening your Synology NAS web UI, and go to:

Control Panel App » Terminal & SNMP Menu » Enable Enable SSH service

SSH and login into your Synology NAS in terminal.
example: ssh [email protected]
Replace the example_username with your Synolgoy user name and IP address with Synology NAS IP address.

After you SSH into Synology NAS, go to /volume1/docker/ and create a dictionary for teslamate. For example to create a dictionary named teslamate ran:

mkdir /volume1/docker/teslamate

Create a new file called docker-compose.yaml and populate it with the config data we just created. I prefer to use vim Example:

vim /volume1/docker/teslamate/docker-compose.yaml
i # Enter Edit Mode
ctrl + v # Copy Paste the Config Data
:x # Save The File

After that go into the folder and start the service, You may need to create a folder called import based on your docker-compose.yaml config.

Example:

sudo mkdir /volume1/docker/teslamate/import
cd /volume1/docker/teslamate/
sudo docker-compose up -d

5. Test If The Service Is Up and Running

Go to port 4000 of your Synology NAS’s IP address, test if the service is running. Example Address: 192.168.1.1:4000

If you have trouble logging into the dashboard(The service hosted on port 3000), the default username is admin and password is also admin