Dernière activité 1713813206

Révision bbf35350491ae9d3988b3a70d233d1acda19396c

Nextcloud Brut
1version: "3.8"
2services:
3 db:
4 image: mariadb
5 command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
6 restart: always
7 volumes:
8 - /volume1/docker/nextcloud/db:/var/lib/mysql:rw
9 environment:
10 - MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD
11 - MARIADB_AUTO_UPGRADE=1
12 - MARIADB_DISABLE_UPGRADE_BACKUP=1
13 - MYSQL_PASSWORD=$MYSQL_PASSWORD
14 - MYSQL_DATABASE=nextcloud
15 - MYSQL_USER=nextcloud
16 - TZ=Europe/Paris
17 redis:
18 image: redis:alpine
19 volumes:
20 - /volume1/docker/nextcloud/redis:/data:rw
21 environment:
22 TZ: Europe/Paris
23 restart: always
24 app:
25 image: nextcloud:apache
26 restart: always
27 ports:
28 - 8090:80
29 volumes:
30 - /volume1/docker/nextcloud/app:/var/www/html:rw
31 - /mnt/share/nextcloud:/var/www/html/data:rw
32 environment:
33 - MYSQL_HOST=db
34 - REDIS_HOST=redis
35 - MYSQL_PASSWORD=$MYSQL_PASSWORD
36 - MYSQL_DATABASE=nextcloud
37 - MYSQL_USER=nextcloud
38 - NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.domain.com 192.168.1.1
39 - TRUSTED_PROXIES=nextcloud.domain.com 192.168.1.1
40 - OVERWRITEHOST=nextcloud.domain.com
41 - OVERWRITEPROTOCOL=https
42 depends_on:
43 - db
44 - redis
45 cron:
46 image: nextcloud:apache
47 restart: always
48 volumes:
49 - /volume1/docker/nextcloud/app:/var/www/html:rw
50 - /mnt/share/nextcloud:/var/www/html/data:rw
51 entrypoint: /cron.sh
52 depends_on:
53 - db
54 - redis