Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91ea6867a0 | ||
|
|
a196a19ea2 | ||
|
|
16a85de8d4 |
@@ -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
|
||||||
+13
-48
@@ -1,53 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
mealie:
|
strava-statistics:
|
||||||
image: ghcr.io/mealie-recipes/mealie:v2.8.0
|
image: robiningelbrecht/strava-statistics:latest
|
||||||
container_name: mealie
|
container_name: statistics-for-strava
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- bragi-local
|
||||||
|
volumes:
|
||||||
|
- /opt/07_sport/strava/config:/var/www/config/app
|
||||||
|
- /opt/07_sport/strava/build:/var/www/build
|
||||||
|
- /opt/07_sport/strava/storage/database:/var/www/storage/database
|
||||||
|
- /opt/07_sport/strava/storage/files:/var/www/storage/files
|
||||||
|
env_file: ./.env
|
||||||
# ports:
|
# ports:
|
||||||
# - 9925:9000
|
# - 8083:8080
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: 1000M #
|
|
||||||
networks:
|
|
||||||
- bragi-local
|
|
||||||
volumes:
|
|
||||||
- /home/shrek/docker/stack/mealie/mealie-data:/app/data/
|
|
||||||
environment:
|
|
||||||
ALLOW_SIGNUP: "false"
|
|
||||||
TZ: Europe/Berlin
|
|
||||||
DB_ENGINE: postgres
|
|
||||||
POSTGRES_USER: mealie
|
|
||||||
POSTGRES_PASSWORD: mealie
|
|
||||||
POSTGRES_SERVER: postgres
|
|
||||||
POSTGRES_PORT: 5432
|
|
||||||
POSTGRES_DB: mealie
|
|
||||||
depends_on:
|
|
||||||
postgres:
|
|
||||||
condition: service_healthy
|
|
||||||
postgres:
|
|
||||||
networks:
|
|
||||||
- bragi-local
|
|
||||||
container_name: 04_groceries_postgres
|
|
||||||
image: postgres:15
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- /home/shrek/docker/stack/mealie/mealie-pgdata:/var/lib/postgresql/data
|
|
||||||
environment:
|
|
||||||
POSTGRES_PASSWORD: mealie
|
|
||||||
POSTGRES_USER: mealie
|
|
||||||
PGUSER: mealie
|
|
||||||
healthcheck:
|
|
||||||
test:
|
|
||||||
- CMD
|
|
||||||
- pg_isready
|
|
||||||
interval: 30s
|
|
||||||
timeout: 20s
|
|
||||||
retries: 3
|
|
||||||
volumes:
|
|
||||||
mealie-data: null
|
|
||||||
mealie-pgdata: null
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
bragi-local:
|
bragi-local:
|
||||||
external: true
|
external: true
|
||||||
Reference in New Issue
Block a user