Sync your own workout data from your "Strong" app
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

adjusted cron-times

tolik518 600b8e85 2c40b002

+5 -2
+1 -1
Dockerfile
··· 14 14 COPY --from=builder /usr/local/cargo/bin/strong-api-fetch /usr/bin/strong-api-fetch 15 15 16 16 # Add the cron job: run every 12 hours and log output 17 - RUN echo "*/1 * * * * /usr/bin/strong-api-fetch >> /var/log/cron.log 2>&1" > /etc/cron.d/strong-api-fetch 17 + RUN echo "0,30 18-20 * * * /usr/bin/strong-api-fetch >> /var/log/cron.log 2>&1" > /etc/cron.d/strong-api-fetch 18 18 19 19 # Ensure the cron job file has proper permissions 20 20 RUN chmod 0644 /etc/cron.d/strong-api-fetch
+4 -1
README.MD
··· 5 5 6 6 The URL to the API backend is not provided here, for now, because it's not entirely public and because of possible legal implications. 7 7 8 + If using docker-compose, the service will run 18:00, 18:30, 19:00, 19:30, 20:00 and 20:30, but you can change this in the `Dockerfile`. 8 9 ## How to use 9 10 10 11 0. Have your Clckhouse database ready and running ··· 27 28 28 29 1. Make sure you have Docker and Docker Compose installed. 29 30 2. Create a `.env` file in the root directory with the same content as above. 30 - 3Start the service with `docker compose up -d`. 31 + 3Start the service with `docker compose up -d`. 32 + 33 +