This commit is contained in:
kadma
2024-02-05 02:11:52 +00:00
parent 4571f16b85
commit d752c9a098
2 changed files with 0 additions and 0 deletions

21
rclone-gui/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM ubuntu
RUN apt update && apt upgrade -y && apt autoremove -y && apt install python3 python3-pip -y && apt install git nano wget -y
ENV URL_DESCARGA_RCLONE="https://downloads.rclone.org/v1.65.0/rclone-v1.65.0-linux-amd64.deb"
EXPOSE 5572
WORKDIR /app
RUN wget $URL_DESCARGA_RCLONE
RUN dpkg -i rclone-v1.65.0-linux-amd64.deb
ENV USER_RCLONE=adm PASSWORD_RCLONE=pass
RUN wget https://raw.githubusercontent.com/kadma/pruebasdocker/main/test.sh
RUN chmod +x test.sh
ENTRYPOINT ./test.sh

1
rclone-gui/test.sh Normal file
View File

@@ -0,0 +1 @@
rclone rcd --rc-web-gui --rc-addr :5572 --rc-serve --rc-user=$USER_RCLONE --rc-pass=$PASSWORD_RCLONE --rc-no-auth --config "/root/.config/rclone/rclone.conf" --user-agent "Mozilla" --transfers 24