A dockerized version of strava-backup.
This dockerized implementation of strava-backup is based on Alpine Linux and checks on a daily basis for updated content on your Strava-account.
- Go to https://www.strava.com/settings/api and create a token, this will 'only' give you a token with 'permissions: public'.
- To create a token with extra permissions (ex. 'permissions: view_private,write') follow this procedure.
- Populate the secret_strava-backup_config file accordingly.
docker build -t docker-strava-backup .
docker run -v /path/where/to/save/your/docker-strava-backup-data:/home/stravabackup/data -it docker-strava-backup
- Log on to your AWS account and head over to the Elastic Container Service
- Create a new repository (ECR)
- Configure aws-cli access if you have not done this before -> 'aws configure', create your Access Keys in AWS/IAM
- Follow the instructions (View Push Commands) as provided by AWS/ECR to push from your build server to ECR
- To store the data in a persistant way you'll need to leverage EFS or work with Elastic Volumes.