Change: Path to tokens changed

This commit is contained in:
2025-12-24 16:10:00 +01:00
parent 60a886f8f9
commit 5adcad42b6
2 changed files with 7 additions and 7 deletions

View File

@@ -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.
> **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:
> ```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 tokens will be generated in `/opt/garmin/tokens` (as defined in the yaml).
> The script will interactively prompt you for your **Garmin Email**, **Password (Plain Text)**, and **2FA Code**.
> 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.

View File

@@ -4,7 +4,7 @@ services:
depends_on:
- temp-influxdb
volumes:
- /opt/garmin/tokens:/home/appuser/.garminconnect
- /opt/docker/garmin-grafana/tokens:/home/appuser/.garminconnect
environment:
- INFLUXDB_HOST=temp-influxdb
- INFLUXDB_PORT=8086