ocdownloader
ocdownloader copied to clipboard
docker installation instructions?
I installed via the docker method: https://hub.docker.com/_/nextcloud based on the apache docker-compose.yaml
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb:10.5.11
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
restart: always
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
which is generally running well, but I'm not sure how or where the installation of youtube-dl and aria2c will fit into this.
![Screen Shot 2021-08-19 at 12 05 31 PM](https://user-images.githubusercontent.com/4094542/130103275-c2df4922-4b4c-42d8-b34d-81de90275c67.png)
[Edit] CURL mode is working fine for my usecase, but a docs update would still be cool.
Facing the same issue with official nextcloud docker.
youtube-dl requires Python to work. I checked that some moments ago: Python is not installed in the official images.
There won't be enough time maintaining a set of Nextcloud images with Python installed additionally. Python could be installed into a running container. The drawback of this is that is has to be done again every time the container has been removed or updated.
The same applies to ARIA2 more or less. Maybe there should be a section about this in the README.
All you need is a custom Dockerfile, like here, but replacing procps smbclient
with youtube-dl
. Remember to change image: nextcloud
to build: .
in your docker-compose.yml
though!
If you want any help you can ask me for further directions. I have ocDownloader fully working in Docker with docker-compose, with yt-dlp instead of youtube-dl for faster downloads and everything overall working.