Author SHA1 Message Date
tobbbs 91ea6867a0 Update compose.yaml 2026-05-27 14:27:29 +02:00
tobbbs a196a19ea2 Add .env 2026-05-27 14:26:49 +02:00
tobbbs 16a85de8d4 Add compose.yaml 2026-05-27 14:26:21 +02:00
tobbbs da83d83d9f Update README.md 2026-05-27 13:10:17 +02:00
3 changed files with 29 additions and 26 deletions
+14
View File
@@ -0,0 +1,14 @@
# The client id of your Strava app.
STRAVA_CLIENT_ID=178054
# The client secret of your Strava app.
STRAVA_CLIENT_SECRET=a88e76d0d018e5a728f7edbb4eb4ef296c9f6faf
# You will need to obtain this token the first time you launch the app.
# Leave this unchanged for now until the app tells you otherwise.
# Do not use the refresh token displayed on your Strava API settings page, it will not work.
STRAVA_REFRESH_TOKEN=f09d865c970bd012dcd5daa149e6d43feb973446
# Valid timezones can found under TZ Identifier column here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
TZ=Europe/Berlin
# The UID and GID to create/own files managed by statistics-for-strava
PUID=1000
PGID=1000
+5 -2
View File
@@ -1,4 +1,7 @@
# Bragi-Local # Bragi-Local
Services: My Compose Stacks for all my Docker Services running on my Local Server
- Lubelogger
06_maintanance:
- Lubelogger
- Postgresql for Lubelogger
+10 -24
View File
@@ -1,32 +1,18 @@
services: services:
lubelogger: strava-statistics:
image: ghcr.io/hargata/lubelogger:latest image: robiningelbrecht/strava-statistics:latest
build: . container_name: statistics-for-strava
restart: unless-stopped restart: unless-stopped
networks: networks:
- bragi-local - bragi-local
volumes: volumes:
- /opt/06_maintanance/data:/App/data - /opt/07_sport/strava/config:/var/www/config/app
- /opt/06_maintanance/keys:/root/.aspnet/DataProtection-Keys - /opt/07_sport/strava/build:/var/www/build
# ports: - /opt/07_sport/strava/storage/database:/var/www/storage/database
# - 8082:8080 - /opt/07_sport/strava/storage/files:/var/www/storage/files
postgres: env_file: ./.env
image: postgres:14 # ports:
restart: unless-stopped # - 8083:8080
networks:
- bragi-local
environment:
POSTGRES_USER: lubelogger
POSTGRES_PASSWORD: lubepass
POSTGRES_DB: lubelogger
volumes:
- /opt/06_maintanance/init.sql:/docker-entrypoint-initdb.d/init.sql
- /opt/06_maintanance/postgres:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro
volumes:
data: null
keys: null
postgres: null
networks: networks:
bragi-local: bragi-local:
external: true external: true