Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku rclone conf #176

Merged
merged 2 commits into from
Oct 11, 2021
Merged

Heroku rclone conf #176

merged 2 commits into from
Oct 11, 2021

Conversation

wahyd4
Copy link
Owner

@wahyd4 wahyd4 commented Oct 11, 2021

Help with #168

Now users can inject rclone config into Heroku via base64 string. In order to get the base64 string:

  1. run the app locally, and authenticate with the remote storage provider to have the final /app/conf/rclone.conf file
  2. run cat /app/conf/rclone.conf | base64 or any base64 online tools such as this to generate base64 string
  3. put base64 string as environment variable RCLONE_CONFIG_BASE64
  4. and remember to add extra permission to the container given it needs to be mount /dev/fuse
    A working example of docker run command:
docker run -d -p 8080:80 -e ENABLE_RCLONE=true --cap-add SYS_ADMIN -e RCLONE_CONFIG_BASE64=<your base64 string> --device /dev/fuse wahyd4/aria2-ui

@wahyd4 wahyd4 merged commit 9a58c2a into master Oct 11, 2021
@wahyd4 wahyd4 deleted the heroku-rclone-conf branch October 11, 2021 05:13
This was referenced Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant