Change: Path to tokens changed
This commit is contained in:
@@ -19,17 +19,17 @@ This directory contains the configuration for a set of services that fetches dat
|
|||||||
Enter your 2FA code when prompted. The tokens will be saved to the `./garminconnect_tokens` folder.
|
Enter your 2FA code when prompted. The tokens will be saved to the `./garminconnect_tokens` folder.
|
||||||
|
|
||||||
> **Server Console (Komodo/Portainer) - Robust Method:**
|
> **Server Console (Komodo/Portainer) - Robust Method:**
|
||||||
> The fetcher requires a database connection to start. Use the provided [`server-token-setup.yml`](./server-token-setup.yml) file.
|
> The fetcher requires a database connection to start. Use the provided [`server-token-setup.yaml`](./server-token-setup.yaml) file.
|
||||||
>
|
>
|
||||||
> 1. Copy `server-token-setup.yml` to your server.
|
> 1. Copy `server-token-setup.yaml` to your server.
|
||||||
> 2. Run:
|
> 2. Run:
|
||||||
> ```bash
|
> ```bash
|
||||||
> docker-compose -f server-token-setup.yml run --rm setup-fetcher
|
> docker-compose -f server-token-setup.yaml run --rm setup-fetcher
|
||||||
> ```
|
> ```
|
||||||
> The script will interactively prompt you for your **Garmin Email**, **Password**, and **2FA Code**.
|
> The script will interactively prompt you for your **Garmin Email**, **Password (Plain Text)**, and **2FA Code**.
|
||||||
> The tokens will be generated in `/opt/garmin/tokens` (as defined in the yaml).
|
> The tokens will be generated in `/opt/docker/garmin-grafana/tokens` (as defined in the yaml).
|
||||||
>
|
>
|
||||||
> Finally, in Komodo/Portainer, set the environment variable `GARMINCONNECT_TOKENS=/opt/garmin/tokens`.
|
> Finally, in Komodo/Portainer, set the environment variable `GARMINCONNECT_TOKENS=/opt/docker/garmin-grafana/tokens`.
|
||||||
|
|
||||||
4. Run `docker-compose up -d` to start the application.
|
4. Run `docker-compose up -d` to start the application.
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- temp-influxdb
|
- temp-influxdb
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/garmin/tokens:/home/appuser/.garminconnect
|
- /opt/docker/garmin-grafana/tokens:/home/appuser/.garminconnect
|
||||||
environment:
|
environment:
|
||||||
- INFLUXDB_HOST=temp-influxdb
|
- INFLUXDB_HOST=temp-influxdb
|
||||||
- INFLUXDB_PORT=8086
|
- INFLUXDB_PORT=8086
|
||||||
|
|||||||
Reference in New Issue
Block a user