rclone webdav
This commit is contained in:
21
rclone-webdav/Dockerfile
Normal file
21
rclone-webdav/Dockerfile
Normal 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.66.0/rclone-v1.66.0-linux-amd64.deb"
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN wget $URL_DESCARGA_RCLONE
|
||||||
|
|
||||||
|
RUN dpkg -i rclone-v1.66.0-linux-amd64.deb
|
||||||
|
|
||||||
|
RUN rm rclone-v1.66.0-linux-amd64.deb
|
||||||
|
|
||||||
|
ENV USER_RCLONE=adm PASSWORD_RCLONE=pass
|
||||||
|
|
||||||
|
RUN wget https://raw.githubusercontent.com/kadma/pruebasdocker/main/rclone-webdav/test.sh
|
||||||
|
|
||||||
|
RUN chmod +x test.sh
|
||||||
|
|
||||||
|
ENTRYPOINT ./test.sh
|
||||||
1
rclone-webdav/test.sh
Normal file
1
rclone-webdav/test.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
rclone serve webdav --vfs-cache-mode writes --addr :80 drive: & rclone serve webdav --vfs-cache-mode writes --addr :81 drive1: & rclone serve webdav --vfs-cache-mode writes --addr :82 drive2: & rclone serve webdav --vfs-cache-mode writes --addr :83 drive3:
|
||||||
Reference in New Issue
Block a user