Comit Inicial
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal 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
15
docker-compose.yaml
Normal 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
1
test.sh
Normal 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
4
workspace.code-workspace
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"folders": [],
|
||||
"settings": {}
|
||||
}
|
||||
Reference in New Issue
Block a user