Moncho ha revisionato questo gist . Vai alla revisione
1 file changed, 38 insertions
gistfile1.txt(file creato)
@@ -0,0 +1,38 @@ | |||
1 | + | version: '3' | |
2 | + | ||
3 | + | services: | |
4 | + | ||
5 | + | mariadb: | |
6 | + | container_name: mariadbnextcloud | |
7 | + | image: mariadb | |
8 | + | command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-read-only-compressed=OFF | |
9 | + | restart: always | |
10 | + | volumes: | |
11 | + | - /volume1/docker/nextcloudatabase:/var/lib/mysql | |
12 | + | environment: | |
13 | + | - MYSQL_ROOT_PASSWORD=xxxxxxxxxxxxxxxxxxx | |
14 | + | - MYSQL_PASSWORD=xxxxxxxxxxxxxxxxxxx@@ddd | |
15 | + | - MYSQL_DATABASE=nextcloudatabaseuser | |
16 | + | - MYSQL_USER=nextclouduserdatabase | |
17 | + | ||
18 | + | nextcloud: | |
19 | + | container_name: nextcloud | |
20 | + | ports: | |
21 | + | - 18000:80 | |
22 | + | depends_on: | |
23 | + | - mariadb | |
24 | + | environment: | |
25 | + | - PUID=1027 | |
26 | + | - PGID=100 | |
27 | + | - TZ=Europe/Madrid | |
28 | + | volumes: | |
29 | + | - /volume1/docker/nextcloud/html:/var/www/html | |
30 | + | - /volume1/docker/nextcloud/custom_apps:/var/www/html/custom_apps | |
31 | + | - /volume1/docker/nextcloud/config:/var/www/html/config | |
32 | + | - /volume1/docker/nextcloud/data:/var/www/html/data | |
33 | + | - /volume1/docker/nextcloud/themes:/var/www/html/themes/ | |
34 | + | image: nextcloud | |
35 | + | restart: always | |
36 | + | ||
37 | + | volumes: | |
38 | + | mariadb: # nextcloud |
Più nuovi
Più vecchi