good save point
This commit is contained in:
parent
f3b4b31b5a
commit
a0395996dc
15
README.md
15
README.md
@ -7,17 +7,20 @@ This repo is for containers running on Charles (@ReachableCEO) laptop
|
||||
## Portma|
|
||||
|
||||
| application | port |
|
||||
| ------------------------------------------------- | ---- |
|
||||
|---------------------------------------------------|------|
|
||||
| (habit tracking) atomichabits | 2008 |
|
||||
| (dashboard to all my local hosted apps) easy-gate | 2005 |
|
||||
| (resume hacking) reactive-resume | 2007 |
|
||||
| (youtube archiving) tube-archivist | 2004 |
|
||||
| (the only editor) vscode-server | 2006 |
|
||||
| (timetracking) wakaapi | 2001 |
|
||||
|
||||
|
||||
| (analytics) metrics | 2002 |
|
||||
| (workout tracking) wger | 2003 |
|
||||
| (youtube archiving) tube-archivist | 2004 |
|
||||
| (dashboard to all my local hosted apps) easy-gate | 2005 |
|
||||
| (the only editor) vscode-server | 2006 |
|
||||
| (resume hacking) reactive-resume | 2007 |
|
||||
| (habit tracking) atomichabits | 2008 |
|
||||
| (workout tracking) wael | 2009 |
|
||||
| (food tracking) cleanslate | 2010 |
|
||||
| (workout tracking) fitly | 2011 |
|
||||
|
||||
## Secrets
|
||||
|
||||
|
9
cleanslate/.env
Normal file
9
cleanslate/.env
Normal file
@ -0,0 +1,9 @@
|
||||
AUTHENTICATION_SERVER_PORT=3001
|
||||
CLIENT_PORT=2010
|
||||
HASURA_GRAPHQL_ADMIN_SECRET=first-long-secret-value
|
||||
HASURA_GRAPHQL_JWT_SECRET='{"type":"HS256","key":"11111-22222-33333-second-long-secret-value"}'
|
||||
HASURA_PORT=8080
|
||||
JWT_SIGNING_SECRET=second-long-secret-value
|
||||
NEXT_PUBLIC_HASURA_DOMAIN=tsys1
|
||||
POSTGRES_PASSWORD=1234
|
||||
POSTGRES_PORT=20101
|
@ -4,9 +4,10 @@ services:
|
||||
restart: always
|
||||
container_name: cleanslate-database
|
||||
ports:
|
||||
- '35000:5432'
|
||||
- '20101:5432'
|
||||
environment:
|
||||
POSTGRES_PASSWORD: 1234
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
|
||||
volumes:
|
||||
- cleanslate-database:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
@ -20,11 +21,11 @@ services:
|
||||
restart: always
|
||||
container_name: cleanslate-graphql-server
|
||||
ports:
|
||||
- '35001:8080'
|
||||
- '20102:8080'
|
||||
environment:
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET}
|
||||
HASURA_GRAPHQL_CORS_DOMAIN: https://${NEXT_PUBLIC_HASURA_DOMAIN}
|
||||
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@cleanslate-database:35000/postgres
|
||||
HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@cleanslate-database:5432/postgres
|
||||
HASURA_GRAPHQL_DEV_MODE: false
|
||||
HASURA_GRAPHQL_ENABLE_CONSOLE: true
|
||||
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
|
||||
@ -45,9 +46,9 @@ services:
|
||||
dockerfile: Dockerfile.server
|
||||
pull_policy: ${PULL_POLICY:-always}
|
||||
restart: always
|
||||
container_name: authentication-server
|
||||
container_name: cleanslate-authentication-server
|
||||
ports:
|
||||
- '35002:3001'
|
||||
- '20103:3001'
|
||||
environment:
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET}
|
||||
JWT_SIGNING_SECRET: ${JWT_SIGNING_SECRET}
|
||||
@ -75,7 +76,7 @@ services:
|
||||
- NEXT_PUBLIC_VERSION=${NEXT_PUBLIC_VERSION}
|
||||
pull_policy: ${PULL_POLICY:-always}
|
||||
restart: always
|
||||
container_name: client
|
||||
container_name: cleanslate-client
|
||||
ports:
|
||||
- '2010:3000'
|
||||
depends_on:
|
||||
|
66
fitly/config/config.ini
Normal file
66
fitly/config/config.ini
Normal file
@ -0,0 +1,66 @@
|
||||
[logger]
|
||||
level = DEBUG
|
||||
|
||||
[cron]
|
||||
hourly_pull = False
|
||||
|
||||
[settings]
|
||||
password =
|
||||
|
||||
# Restart is required after connecting to spotify via settings page for stream to start working
|
||||
[spotify]
|
||||
client_id =
|
||||
client_secret =
|
||||
redirect_uri =
|
||||
# Range of % complete song needs to be in when changed to be considered a 'Skip'. Used to train model for 'liked' songs
|
||||
skip_min_threshold = .05
|
||||
skip_max_threshold = .80
|
||||
# Min seconds song has to be on player for it to be inserted into db (ignore quick skips)
|
||||
min_secs_listened = 15
|
||||
# interval at which spotify 'currently_playing' will be polled, .5 = 2 requests per second
|
||||
poll_interval_seconds = .5
|
||||
|
||||
[peloton]
|
||||
username =
|
||||
password =
|
||||
|
||||
[stryd]
|
||||
username =
|
||||
password =
|
||||
compare_against_age=1
|
||||
compare_against_gender=1
|
||||
compare_against_race_event=1
|
||||
|
||||
[strava]
|
||||
activities_after_date = 2018-01-01T00:00:00Z
|
||||
client_id =
|
||||
client_secret =
|
||||
redirect_uri = http://127.0.0.1:8050/settings?strava
|
||||
|
||||
[oura]
|
||||
redirect_uri = http://127.0.0.1:8050/settings?oura
|
||||
client_id =
|
||||
client_secret =
|
||||
days_back = 7
|
||||
white = rgb(220, 220, 220)
|
||||
teal = rgb(134, 201, 250)
|
||||
light_blue = rgb(85, 139, 189)
|
||||
dark_blue = rgb(43, 70, 119)
|
||||
orange = rgb(234, 109, 95)
|
||||
|
||||
[withings]
|
||||
redirect_uri = http://127.0.0.1:8050/settings?withings
|
||||
client_id =
|
||||
client_secret =
|
||||
|
||||
[nextcloud]
|
||||
url =
|
||||
username =
|
||||
password =
|
||||
fitbod_path =
|
||||
|
||||
[timezone]
|
||||
timezone = America/New_York
|
||||
|
||||
[dashboard]
|
||||
transition=2000
|
BIN
fitly/config/fitness.db
Normal file
BIN
fitly/config/fitness.db
Normal file
Binary file not shown.
0
fitly/config/log.log
Normal file
0
fitly/config/log.log
Normal file
16
fitly/docker-compose.yml
Normal file
16
fitly/docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
version: '3'
|
||||
services:
|
||||
fitly:
|
||||
image: ethanopp/fitly:latest
|
||||
container_name: fitly
|
||||
restart: always
|
||||
ports:
|
||||
- "3000:80"
|
||||
environment:
|
||||
- MODULE_NAME=src.fitly.app
|
||||
- VARIABLE_NAME=server
|
||||
- TZ=America/Chicago
|
||||
- TIMEOUT=1200
|
||||
- DASH_DEBUG=true
|
||||
volumes:
|
||||
- ./config:/app/config
|
@ -1,11 +1,15 @@
|
||||
services:
|
||||
metrics:
|
||||
image: ghcr.io/lowlighter/metrics:latest
|
||||
reachableceo-metrics:
|
||||
image: ghcr.io/lowlighter/metrics:${VERSION:-latest}
|
||||
container_name: reachableceo-metrics
|
||||
entrypoint: ""
|
||||
entrypoint: [""]
|
||||
command: ["npm", "start"]
|
||||
ports:
|
||||
- 2002:3000
|
||||
- "127.0.0.1:2002:3000"
|
||||
volumes:
|
||||
- ./settings.json:/metrics/settings.json
|
||||
restart: no
|
||||
- "./settings.json:/metrics/settings.json"
|
||||
environment:
|
||||
- VERSION=${VERSION:-latest}
|
||||
- SETTINGS=./settings.json
|
||||
- SERVICE_PORT=${SERVICE_PORT:-3000}
|
||||
- PUBLISHED_PORT=${PUBLISHED_PORT:-2002}
|
||||
|
@ -1,9 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
#docker compose exec wger-web python3 manage.py sync-exercises
|
||||
docker compose exec wger-web python3 manage.py sync-exercises
|
||||
docker compose exec wger-web python3 manage.py download-exercise-images
|
||||
docker compose exec wger-web python3 manage.py download-exercise-videos
|
||||
|
||||
docker compose exec wger-web wger load-online-fixtures
|
||||
# afterwards:
|
||||
docker compose exec wger-web python3 manage.py sync-ingredients
|
||||
|
Loading…
Reference in New Issue
Block a user