Bonjour tout le monde,
Voici l'erreur que j'ai dans les logs lors de l'installation de Nextcloud sur un synology
Voici l'erreur
Voici mon docker compose que je lance en stack via portainer.
Voici l'erreur que j'ai dans les logs lors de l'installation de Nextcloud sur un synology
Voici l'erreur
Code:
[Wed Mar 22 16:10:28.521884 2023] [access_compat:error] [pid 45] [client 192.168.208.1:37820] AH01797: client denied by server configuration: /var/www/html/data/htaccesstest.txt
Voici mon docker compose que je lance en stack via portainer.
Code:
version: '3.9'
services:
mariadb:
container_name: Synology_Nextcloud-DB
image: mariadb:jammy
security_opt:
- no-new-privileges:true
user: 1026:100
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -u root -pmotdepasseroot | grep 'mysqld is alive' || exit 1"]
volumes:
- /volume1/docker/nextcloud/db:/var/lib/mysql:rw
environment:
- MYSQL_ROOT_PASSWORD=motdepasseroot
- MYSQL_PASSWORD=mdp12345
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
restart: on-failure:5
redis:
image: redis
container_name: Synology_Nextcloud-REDIS
user: 1026:100
healthcheck:
test: ["CMD-SHELL", "redis-cli ping || exit 1"]
volumes:
- /volume1/docker/nextcloud/redis:/data:rw
environment:
restart: on-failure:5
nextcloud:
container_name: Synology_Nextcloud
ports:
- 8082:80
depends_on:
mariadb:
condition: service_started
redis:
condition: service_healthy
environment:
- REDIS_HOST=Synology_Nextcloud-REDIS
- NEXTCLOUD_TRUSTED_DOMAINS=cloud.server.xyz 192.168.x.x
- TRUSTED_PROXIES=cloud.server.xyz 192.168.x.x
- OVERWRITEHOST=cloud.server.xyz
- OVERWRITEPROTOCOL=https
- MYSQL_PASSWORD=mdp1234
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=mariadb
healthcheck:
test: curl -f http://localhost:80/ || exit 1
volumes:
- /volume1/docker/nextcloud/html:/var/www/html:rw
- /volume1/docker/nextcloud/custom_apps:/var/www/html/custom_apps:rw
- /volume1/docker/nextcloud/config:/var/www/html/config:rw
- /volume1/docker/nextcloud/data:/var/www/html/data:rw
- /volume1/docker/nextcloud/themes:/var/www/html/themes:rw
image: nextcloud
restart: on-failure:5
av:
image: mkodockx/docker-clamav:alpine
container_name: Synology_Nextcloud_AV