• 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle


  • Here’s my docker-compose.yml for nextcloud (with minor privacy changes) that includes onlyoffice and drawio containers. SSL is not included and should be handled by NPM and you’ll need a proxy host for both drawio and onlyoffice. I use NPM in docker so I just add it to the docs network instead of exposing any additional ports. For onlyoffice the secret key gets regenerated each time the container starts so you’ll need to update onlyoffice setting in nextcloud each time (unless someone has a better solution). You can get the secret key by logging into the onlyoffice container and running

    cat /etc/onlyoffice/documentserver-example/local.json

    I’ve been running this solution for a few years without any major issues.

    docker-compose.yml

    version: '3.5'
    
    networks:
     docs:
      name: docs 
      driver: bridge
    
    services:
     nextcloud:
      image: linuxserver/nextcloud
      container_name: nextcloud
      environment:
       - PUID=1000
       - PGID=1000
       - MYSQL_DATABASE=nextcloud
       - MYSQL_USER=nextcloud
       - MYSQL_PASSWORD=P@ssWord321!
       - MYSQL_HOST=nextcloud_db
       - TZ="America/Chicago"
      volumes:
       - /home/user/docker/configs/nextcloud:/config
       - /home/user/docker/configs/nextcloud_data:/data
      restart: unless-stopped
      depends_on:
       - nextcloud_db
      networks:
       - docs 
    
     nextcloud_db:
      image: linuxserver/mariadb:110.4.21mariabionic-ls31
      container_name: nextcloud_db
      restart: always
      environment:
       - PUID=1000
       - PGID=1000
       - MYSQL_ROOT_PASSWORD=P@ssWord123!
       - MYSQL_DATABASE=nextcloud
       - MYSQL_USER=nextcloud
       - MYSQL_PASSWORD=P@ssWord321!
      volumes:
       - /home/user/docker/configs/nextcloud_db/mysql:/config
      restart: unless-stopped
      networks:
       - docs 
    
     onlyoffice:
      image: onlyoffice/documentserver
      container_name: onlyoffice
      restart: always
      depends_on:
       - nextcloud
      networks:
       - docs 
    
     image-export:
      image: jgraph/export-server
      container_name: nextcloud-drawio-export
      networks:
       - docs 
      volumes:
       - ./fonts:/usr/share/fonts/drawio
      restart: unless-stopped
    
     drawio:
      image: jgraph/drawio
      container_name: nextcloud-drawio
      networks:
       - docs 
      depends_on:
       - image-export
      environment:
       - VIRTUAL_HOST=drawio.example.com
       - VIRTUAL_PORT=8080
       - EXPORT_URL=http://image-export:8000/
      restart: unless-stopped
    


  • A DDL (direct download) implies you are downloading it from a hosting site and storing it on your personal computer. A DMCA notice is sent when you are hosting the file and providing it to others.

    Per https://www.legalzoom.com/articles/i-got-a-dmca-notice-now-what

    “Copyright infringement has become so prevalent that sometimes you are not even aware that you are infringing on another person’s rights. Most of the time, copyright infringement is an innocent mistake—such as reposting an image on Instagram that you like and want to share. Other times, the infringement is intentional. Either way, if you infringe on someone else’s copyright, you will very likely receive a Digital Millennium Copyright Act (DMCA) takedown notice.”

    Further down the site

    "Your next steps

    Once you receive a DMCA notice—either directly or through your ISP—review and confirm the alleged copyright infringement listed on the takedown notice. If you can confirm that there is a copyright infringement, you should proceed with taking down the identified material."

    This is the same reason you aren’t at risk to DMCA when using Usenet/IRC because other people are providing you the files or downloading (not uploading) from google drive shared files.

    If you use torrenting (which implies you are seeding back to other people) or upload to google drive you can be at risk to receiving a DMCA takedown notice and then you’ll have to decide whether to fight it or delete it.