Aller au contenu

Featured Replies

Posté(e)

Bonjour à tous, 
A la recherche d'une appli pour partager des données sans forcément créer d'utilisateurs sur DSM, je suis intéressé par NextCloud.
Cependant, n'étant pas un AS de la configuration logiciel, je me demandais si une âme charitable avait en sa possession un petit docker-compose de NextCloud pour Synology.
L'idée étant pour ma part de donner accès en lecture à ma famille pour télécharger des vidéos par exemple.

MERCI !

Je sais que ça fait un peu fénéant mais bon... Qui ne tente rien n'a rien 😛 

Ps : Je suis un utilisateur régulier de Docker, je tatone un peu en général mais ça fonctionne 😛  
       J'ai quelques adresses macvlan disponibles si besoin.
       J'utilise portainer pour ajouter mes stacks.

 

Posté(e)

J'ai bien un docker-compose, mais il est avec l'image LinuxServer que je déconseillerais fortement en raison de leur politique de mise à jour.
Récemment j'ai appris qu'ils ne feraient plus de MAJ de la branche 27.x au profit de la 28.x.
Donc ceux qui n'ont pas d'app compatible 28.x peuvent se brosser pour les correctifs de sécurité qu'apportent les MAJ de la 27.x

Je te conseille d'utiliser l'image officielle nextcloud:aio ou celle maintenue par la communauté docker nextcloud:fpm.

Je n'ai pas de docker-compose pour celles là.

Posté(e)
  • Auteur

Merci @MilesTEG1 !

J'ai essayé  2 3 babioles ce matin et j'ai réussi à le lancer (c'est déjà pas mal)
Maintenant j'essaie de configurer mon NAS en stockage externe et là je pêche...

Mon docker-compose :

version: '2'
services:
  db:
    image: mariadb:10.5
    restart: always
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    volumes:
      - /volume2/docker/nextcloud/db:/var/lib/mysql
    environment:

      - PUID=xxx
      - PGID=xxx
      - MYSQL_ROOT_PASSWORD=xxxx
      - MYSQL_PASSWORD=xxxx
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud

  app:
    image: nextcloud
    restart: always
    ports:
      - 8282:80
    links:
      - db
    volumes:
      - /volume2/docker/nextcloud/config:/var/www/html
      - /volume1/2-videotheque:/videotheque
    environment:

      - PUID=xxxx
      - PGID=xxxx
      - MYSQL_PASSWORD=xxxx
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db

Il y a peut-etre un truc que j'ai mal fait....

image.thumb.png.c1cdae6c569f7273515f95206d8a54d4.png

Posté(e)
Il y a 6 heures, _DR64_ a dit :

L'idée étant pour ma part de donner accès en lecture à ma famille pour télécharger des vidéos par exemple.

Plex ne permet déjà pas ça ? Car Emby l'autorise.

Posté(e)
  • Auteur

Bonjour @.Shad.,
Plex l'autorise aux utilisateurs PlexPass...

Posté(e)

Sur Emby, c'est une licence pour le serveur, et tous les clients en bénéficient. Quelle arnaque si chaque client doit avoir un PlexPass... 🙄

Posté(e)
  • Auteur

Il faudrait que j'essaie pour voir la différence entre les deux

  • 5 mois après...
Posté(e)

J'essaye de faire un docker-compose d'un NextCloud AIO, mais j'ai des erreurs et le docker reboot.

Voici la config

version: "3.8"

volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer # This line is not allowed to be changed

services:
  nextcloud:
    image: nextcloud/all-in-one:latest # Must be changed to 'nextcloud/all-in-one:latest-arm64' when used with an arm64 CPU
    restart: always
    container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed
      - /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation
    ports:
      - 8080:8080
    environment:
      - APACHE_PORT=11000 # Is needed when running behind a reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
      - NEXTCLOUD_DATADIR=/volume1/docker/nextcloud/data # Allows to set the host directory for Nextcloud's datadir. See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
      - NEXTCLOUD_MOUNT=/volume1/docker/nextcloud # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
      - SKIP_DOMAIN_VALIDATION=true

Voici l'erreur

2024/05/30 10:55:43	stdout	Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065
2024/05/30 10:55:43	stdout	You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
2024/05/30 10:55:43	stdout	Most likely the DNS resolving does not work.
2024/05/30 10:55:42	stdout	[0;31mCould not resolve the host nextcloud.com.[0m
2024/05/30 10:55:29	stderr	WARNING: No blkio throttle.write_iops_device support
2024/05/30 10:55:29	stderr	WARNING: No blkio throttle.read_iops_device support
2024/05/30 10:55:29	stderr	WARNING: No blkio throttle.write_bps_device support
2024/05/30 10:55:29	stderr	WARNING: No blkio throttle.read_bps_device support
2024/05/30 10:55:29	stderr	WARNING: No cpu cfs period support
2024/05/30 10:55:29	stderr	WARNING: No cpu cfs quota support
2024/05/30 10:55:29	stderr	WARNING: No kernel memory TCP limit support
2024/05/30 10:55:20	stdout	Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065
2024/05/30 10:55:20	stdout	You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
2024/05/30 10:55:20	stdout	Most likely the DNS resolving does not work.
2024/05/30 10:55:20	stdout	[0;31mCould not resolve the host nextcloud.com.[0m
2024/05/30 10:55:06	stderr	WARNING: No blkio throttle.write_iops_device support
2024/05/30 10:55:06	stderr	WARNING: No blkio throttle.read_iops_device support
2024/05/30 10:55:06	stderr	WARNING: No blkio throttle.write_bps_device support
2024/05/30 10:55:06	stderr	WARNING: No blkio throttle.read_bps_device support
2024/05/30 10:55:06	stderr	WARNING: No cpu cfs period support
2024/05/30 10:55:06	stderr	WARNING: No cpu cfs quota support
2024/05/30 10:55:06	stderr	WARNING: No kernel memory TCP limit support
2024/05/30 10:54:57	stdout	Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065
2024/05/30 10:54:57	stdout	You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
2024/05/30 10:54:57	stdout	Most likely the DNS resolving does not work.
2024/05/30 10:54:57	stdout	[0;31mCould not resolve the host nextcloud.com.[0m
2024/05/30 10:54:46	stderr	WARNING: No blkio throttle.write_iops_device support
2024/05/30 10:54:46	stderr	WARNING: No blkio throttle.read_iops_device support
2024/05/30 10:54:46	stderr	WARNING: No blkio throttle.write_bps_device support
2024/05/30 10:54:46	stderr	WARNING: No blkio throttle.read_bps_device support
2024/05/30 10:54:46	stderr	WARNING: No cpu cfs period support
2024/05/30 10:54:46	stderr	WARNING: No cpu cfs quota support
2024/05/30 10:54:46	stderr	WARNING: No kernel memory TCP limit support
2024/05/30 10:54:36	stdout	If you are on docker swarm and try to run AIO, see https://github.com/nextcloud/all-in-one#can-i-run-this-with-docker-swarm[0m
2024/05/30 10:54:36	stdout	Using a different name is not supported since mastercontainer updates will not work in that case!
2024/05/30 10:54:36	stdout	[0;31mIt seems like you did not give the mastercontainer the correct name? (The 'nextcloud-aio-mastercontainer' container was not found.)
2024/05/30 10:54:36	stderr	WARNING: No blkio throttle.write_iops_device support
2024/05/30 10:54:36	stderr	WARNING: No blkio throttle.read_iops_device support
2024/05/30 10:54:36	stderr	WARNING: No blkio throttle.write_bps_device support
2024/05/30 10:54:36	stderr	WARNING: No blkio throttle.read_bps_device support
2024/05/30 10:54:36	stderr	WARNING: No cpu cfs period support
2024/05/30 10:54:36	stderr	WARNING: No cpu cfs quota support
2024/05/30 10:54:36	stderr	WARNING: No kernel memory TCP limit support

Je ne trouve pas l'erreur :-(

Posté(e)
Il y a 4 heures, .Shad. a dit :

@Geoff1330 C'est sur un NAS Syno que tu essaies de le faire tourner ?

oui, un DS924+

Posté(e)

@Geoff1330 Si tu ajoutes la ligne :

dns:
  - 8.8.8.8
  - 9.9.9.9

dans ton fichier compose, ça marche mieux ?

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.