Comit Inicial

This commit is contained in:
2025-12-20 19:11:15 -05:00
commit 1768a6a2f9
4 changed files with 39 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
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.72.1/rclone-v1.72.1-linux-amd64.deb"
EXPOSE 5572
WORKDIR /app
RUN wget $URL_DESCARGA_RCLONE
RUN dpkg -i rclone-v1.72.1-linux-amd64.deb
RUN wget https://raw.githubusercontent.com/kadma/pruebasdocker/main/rclone-gui/test.sh
RUN chmod +x test.sh
ENTRYPOINT ./test.sh

15
docker-compose.yaml Normal file
View File

@@ -0,0 +1,15 @@
---
services:
rclone-webdav:
build:
context: .
dockerfile: Dockerfile
container_name: rclone-gui
environment:
- USER_RCLONE=adm
- PASSWORD_RCLONE=pass
volumes:
- /path/to/config:/root/.config/rclone
restart: unless-stopped
network_mode: bridge
hostname: rclone-gui

1
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

4
workspace.code-workspace Normal file
View File

@@ -0,0 +1,4 @@
{
"folders": [],
"settings": {}
}