Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91ea6867a0 | ||
|
|
a196a19ea2 | ||
|
|
16a85de8d4 | ||
|
|
da83d83d9f |
@@ -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
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
# Bragi-Local
|
# Bragi-Local
|
||||||
|
|
||||||
Services:
|
My Compose Stacks for all my Docker Services running on my Local Server
|
||||||
- Vikunja
|
|
||||||
- Postgres for Vikunja
|
06_maintanance:
|
||||||
|
- Lubelogger
|
||||||
|
- Postgresql for Lubelogger
|
||||||
+11
-33
@@ -1,40 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
vikunja:
|
strava-statistics:
|
||||||
image: vikunja/vikunja
|
image: robiningelbrecht/strava-statistics:latest
|
||||||
|
container_name: statistics-for-strava
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- bragi-local
|
- bragi-local
|
||||||
environment:
|
volumes:
|
||||||
VIKUNJA_SERVICE_PUBLICURL: https://tasks.doeringer.eu
|
- /opt/07_sport/strava/config:/var/www/config/app
|
||||||
VIKUNJA_DATABASE_HOST: db
|
- /opt/07_sport/strava/build:/var/www/build
|
||||||
VIKUNJA_DATABASE_PASSWORD: Mu4snEKrHvFPxsEAS8fq
|
- /opt/07_sport/strava/storage/database:/var/www/storage/database
|
||||||
VIKUNJA_DATABASE_TYPE: postgres
|
- /opt/07_sport/strava/storage/files:/var/www/storage/files
|
||||||
VIKUNJA_DATABASE_USER: vikunja
|
env_file: ./.env
|
||||||
VIKUNJA_DATABASE_DATABASE: vikunja
|
|
||||||
VIKUNJA_SERVICE_SECRET: MLuQnPRdYQSTFApQqsFSapyfGrbFsv
|
|
||||||
# ports:
|
# ports:
|
||||||
# - 3456:3456
|
# - 8083:8080
|
||||||
volumes:
|
|
||||||
- /opt/docker/todo/files:/app/vikunja/files
|
|
||||||
depends_on:
|
|
||||||
db:
|
|
||||||
condition: service_healthy
|
|
||||||
restart: unless-stopped
|
|
||||||
db:
|
|
||||||
image: postgres:18
|
|
||||||
environment:
|
|
||||||
POSTGRES_PASSWORD: Mu4snEKrHvFPxsEAS8fq
|
|
||||||
POSTGRES_USER: vikunja
|
|
||||||
volumes:
|
|
||||||
- /opt/docker/todo/db:/var/lib/postgresql
|
|
||||||
networks:
|
|
||||||
- bragi-local
|
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"]
|
|
||||||
interval: 2s
|
|
||||||
start_period: 30s
|
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
bragi-local:
|
bragi-local:
|
||||||
external: true
|
external: true
|
||||||
Reference in New Issue
Block a user