瀏覽代碼

Pin MariaDB to 10.5 (fix #2168)

J0WI 3 年之前
父節點
當前提交
9b5b7e2431
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      nextcloud/content.md

+ 3 - 3
nextcloud/content.md

@@ -62,7 +62,7 @@ Database:
 	```console
 	$ docker run -d \
 	-v db:/var/lib/mysql \
-	mariadb
+	mariadb:10.5
 	```
 
 If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps. The `data`, `config` files are stored in respective subfolders inside `/var/www/html/`. The apps are split into core `apps` (which are shipped with Nextcloud and you don't need to take care of) and a `custom_apps` folder. If you use a custom theme it would go into the `themes` subfolder.
@@ -239,7 +239,7 @@ volumes:
 
 services:
   db:
-    image: mariadb
+    image: mariadb:10.5
     restart: always
     command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
     volumes:
@@ -285,7 +285,7 @@ volumes:
 
 services:
   db:
-    image: mariadb
+    image: mariadb:10.5
     restart: always
     command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
     volumes: