Skip to content
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

Updating docks with minor things #1287

Merged
merged 3 commits into from Feb 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/guides/apache.md
Expand Up @@ -181,12 +181,12 @@ Define LOG access.teslamate.log

### .htpasswd

This file contains a user and password for accessing TeslaMate (Basic-auth), note this is NOT your tesla.com password. You can generate it on the web if you don't have the [Apache tools](https://www.cyberciti.biz/faq/create-update-user-authentication-files/) installed (e.g. http://www.htaccesstools.com/htpasswd-generator/).
This file contains a user and password for accessing TeslaMate (Basic-auth), note this is NOT your tesla.com password. You can generate it on the web if you don't have the [Apache tools](https://www.cyberciti.biz/faq/create-update-user-authentication-files/) installed (e.g. http://www.htaccesstools.com/htpasswd-generator/). Use BCrypt encryption mode.

**Example:**

```apacheconf title="/etc/apache2/.htpasswd"
teslamate:$apr1$0hau3aWq$yzNEh.ABwZBAIEYZ6WfbH/
teslamate:$2y$10$f7PB3UF3PNzqMIXZmf1dIefOkrv/15Xt6Xw3pzc6mkS/B5qoWBdAG
```

## Usage
Expand Down
3 changes: 1 addition & 2 deletions website/docs/guides/traefik.md
Expand Up @@ -73,7 +73,6 @@ services:
grafana:
image: teslamate/grafana:latest
restart: always
user: "472"
environment:
- DATABASE_USER=${TM_DB_USER}
- DATABASE_PASS=${TM_DB_PASS}
Expand Down Expand Up @@ -150,7 +149,7 @@ GRAFANA_PW=admin

FQDN_TM=teslamate.example.com

TM_TZ=Australia/Sydney
TM_TZ=Europe/Berlin

LETSENCRYPT_EMAIL=yourperson@example.com
```
Expand Down
6 changes: 3 additions & 3 deletions website/docs/installation/debian.md
Expand Up @@ -133,7 +133,7 @@ You may need to set your system locale. If you get an error when running the Tes

```bash
sudo locale-gen en_US.UTF-8
sudo localectl set-locale LANG=en_AU.UTF-8
sudo localectl set-locale LANG=en_US.UTF-8
```

## Starting TeslaMate at boot time
Expand Down Expand Up @@ -168,7 +168,7 @@ RestartSec=5
Environment="HOME=/usr/src/teslamate"
Environment="LANG=en_US.UTF-8"
Environment="LC_CTYPE=en_US.UTF-8"
Environment="TZ=Australia/Melbourne"
Environment="TZ=Europe/Berlin"
Environment="PORT=4000"
Environment="DATABASE_USER=teslamate"
Environment="DATABASE_PASS=secret"
Expand Down Expand Up @@ -221,7 +221,7 @@ export MQTT_HOST="127.0.0.1"
export MQTT_USERNAME="teslamate"
export MQTT_PASSWORD="teslamate"
export MQTT_TLS="false"
export TZ="Australia/Melbourne"
export TZ="Europe/Berlin"
export TESLAMATEPATH=/usr/src/teslamate

$TESLAMATEPATH/_build/prod/rel/teslamate/bin/teslamate start
Expand Down