Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker installation instructions? #215

Open
carcinocron opened this issue Aug 19, 2021 · 4 comments
Open

docker installation instructions? #215

carcinocron opened this issue Aug 19, 2021 · 4 comments

Comments

@carcinocron
Copy link

carcinocron commented Aug 19, 2021

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

[Edit] CURL mode is working fine for my usecase, but a docs update would still be cool.

@ianhu92
Copy link

ianhu92 commented Sep 20, 2021

Facing the same issue with official nextcloud docker.

@weeman1337
Copy link
Contributor

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.

@n3oney
Copy link

n3oney commented Apr 11, 2022

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!

@n3oney
Copy link

n3oney commented Apr 11, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants