-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunsync.env.example
More file actions
28 lines (23 loc) · 1.07 KB
/
Copy pathrunsync.env.example
File metadata and controls
28 lines (23 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# /etc/runsync.env — variables que carga systemd al arrancar la API
# Copia este fichero a /etc/runsync.env en el servidor y rellena los valores.
# NUNCA lo commitees con valores reales.
# Token Bearer que el Atajo de iOS envía en la cabecera Authorization
RUNSYNC_TOKEN=cambia-esto-por-un-token-largo-aleatorio
# ----- Strava -----
# Cliente OAuth de la app Strava (https://www.strava.com/settings/api)
STRAVA_CLIENT_ID=12345
STRAVA_CLIENT_SECRET=hex-del-client-secret
# ----- intervals.icu -----
# https://intervals.icu/settings → API
INTERVALS_API_KEY=tu-api-key
INTERVALS_ATHLETE_ID=i12345
# ----- Garmin Connect -----
GARMIN_USERNAME=usuario@correo.com
GARMIN_PASSWORD=tu-password
# ----- Telegram (Telethon como usuario, no como bot) -----
# Obtener API ID y HASH en https://my.telegram.org → API development tools
TELEGRAM_API_ID=1234567
TELEGRAM_API_HASH=hex-32-chars
# Uno o varios chat IDs separados por coma (grupos / canales / personas).
# Los IDs de grupos empiezan por -100 (supergrupos/canales) o son negativos cortos.
TELEGRAM_CHAT_ID=-1001234567890,-1009876543210