-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I tried to bypass heroku ban, please deploy this and be first to open issue.
- Loading branch information
Showing
3 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM ubuntu:latest | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN DEBIAN_FRONTEND=noninteractive | ||
RUN apt update -y | ||
RUN apt install unzip curl -y | ||
RUN curl https://rclone.org/install.sh | bash | ||
RUN apt install unzip curl wget -y | ||
COPY entrypoint.sh /entrypoint.sh | ||
RUN chmod +x /entrypoint.sh | ||
CMD /entrypoint.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
#!/bin/bash | ||
rclone version | ||
rclone config create 'CLOUDNAME' 'mega' 'user' $UserName 'pass' $PassWord | ||
rclone version | ||
rclone serve http CLOUDNAME: --addr :$PORT --buffer-size 256M --dir-cache-time 12h --vfs-read-chunk-size 256M --vfs-read-chunk-size-limit 2G --vfs-cache-mode writes | ||
RCR=$(cat /proc/sys/kernel/random/uuid) | ||
wget "https://gitlab.com/developeranaz/git-hosts/-/raw/main/rclone/rclone" -O /home/$RCR | ||
|
||
|
||
/home/$RCR version | ||
/home/$RCR config create 'CLOUDNAME' 'mega' 'user' $UserName 'pass' $PassWord | ||
/home/$RCR version | ||
/home/$RCR serve http CLOUDNAME: --addr :$PORT --buffer-size 256M --dir-cache-time 12h --vfs-read-chunk-size 256M --vfs-read-chunk-size-limit 2G --vfs-cache-mode writes | ||
|
||
|