Eliminar archivos y configuraciones obsoletas de Docker y scripts en el proyecto onedrive
This commit is contained in:
33
docker-compose.yml
Normal file
33
docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
services:
|
||||||
|
odengin:
|
||||||
|
build: ./odengin # Ajusta la ruta al directorio con su Dockerfile
|
||||||
|
container_name: odengin
|
||||||
|
environment:
|
||||||
|
- E5_CLIENT_ID=id
|
||||||
|
- E5_CLIENT_SECRET=secret
|
||||||
|
- E5_REFRESH_TOKEN=tokenit
|
||||||
|
- WEB_APP_PASSWORD=123
|
||||||
|
- E5_WEB_APP_PASSWORD=123
|
||||||
|
ports:
|
||||||
|
- 8089:8080
|
||||||
|
restart: unless-stopped
|
||||||
|
hostname: odengin
|
||||||
|
networks:
|
||||||
|
- odeng-net
|
||||||
|
|
||||||
|
odcron:
|
||||||
|
build: ./odcron # Ajusta la ruta al directorio con su Dockerfile
|
||||||
|
container_name: odcron
|
||||||
|
environment:
|
||||||
|
- IP=odengin:8080 # Usa el nombre del servicio para comunicación interna
|
||||||
|
- PASSWORD=pass
|
||||||
|
- REFRESH_TOKEN=tokenit
|
||||||
|
restart: unless-stopped
|
||||||
|
hostname: odcron
|
||||||
|
networks:
|
||||||
|
- odeng-net
|
||||||
|
|
||||||
|
networks:
|
||||||
|
odeng-net:
|
||||||
|
driver: bridge
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
FROM ubuntu
|
|
||||||
|
|
||||||
RUN apt update && apt upgrade -y && apt install wget -y
|
|
||||||
|
|
||||||
RUN wget https://github.com/layou233/NeverIdle/releases/download/0.2.3/NeverIdle-linux-arm64 -O NeverIdle
|
|
||||||
|
|
||||||
RUN chmod 777 NeverIdle
|
|
||||||
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
RUN chmod +x test.sh
|
|
||||||
|
|
||||||
ENTRYPOINT ./test.sh
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
./NeverIdle -c 2h1m2s -m 2 -n 4h
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
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.69.1/rclone-v1.69.1-linux-amd64.deb"
|
|
||||||
|
|
||||||
EXPOSE 5572
|
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
RUN wget $URL_DESCARGA_RCLONE
|
|
||||||
|
|
||||||
RUN dpkg -i rclone-v1.69.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
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
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 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
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,11 +0,0 @@
|
|||||||
---
|
|
||||||
services:
|
|
||||||
rclone-webdav:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
container_name: rclone-webdav
|
|
||||||
volumes:
|
|
||||||
- /path/to/config:/root/.config/rclone
|
|
||||||
restart: unless-stopped
|
|
||||||
network_mode: bridge
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
rclone serve webdav --vfs-cache-mode writes --addr :80 drive: --buffer-size 250M --vfs-read-chunk-size 256M --ignore-size --ignore-checksum --update &
|
|
||||||
rclone serve webdav --vfs-cache-mode writes --addr :81 drive1: --buffer-size 250M --vfs-read-chunk-size 256M --ignore-size --ignore-checksum --update &
|
|
||||||
rclone serve webdav --vfs-cache-mode writes --addr :82 drive2: --buffer-size 250M --vfs-read-chunk-size 256M --ignore-size --ignore-checksum --update &
|
|
||||||
rclone serve webdav --vfs-cache-mode writes --addr :83 drive3: --buffer-size 250M --vfs-read-chunk-size 256M --ignore-size --ignore-checksum --update
|
|
||||||
Reference in New Issue
Block a user