浏览代码

Switch the drupal install to a different mariadb container (#209)

Robert Middleswarth 3 年之前
父节点
当前提交
870f5c3cae
共有 3 个文件被更改,包括 34 次插入1 次删除
  1. 4 1
      stack/drupal.yml
  2. 15 0
      template/portainer-v2-arm32.json
  3. 15 0
      template/portainer-v2-arm64.json

+ 4 - 1
stack/drupal.yml

@@ -1,12 +1,15 @@
 version: "3"
 services:
   mariadb:
-    image: jc21/mariadb-aria:latest
+    image: linuxserver/mariadb:latest
     environment:
       MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
       MYSQL_DATABASE: ${DATABASE_NAME}
       MYSQL_USER: ${DATABASE_USER}
       MYSQL_PASSWORD: ${DATABASE_PASSWORD}
+      PUID: ${USER_UID}
+      PGID: ${USER_GID}
+      TZ: ${TZ}
     networks:
       - drupal_network
     restart: unless-stopped

+ 15 - 0
template/portainer-v2-arm32.json

@@ -994,6 +994,21 @@
 			],
 			"description": "Drupal CMS.  Make sure you run the install script under tools before installing.",
 			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				},
+                {
+					"default": "America/New_York",
+                    "label": "TZ",
+                    "name": "TZ"
+                },
 				{
 					"default": "",
 					"label": "MYSQL_ROOT_PASSWORD",

+ 15 - 0
template/portainer-v2-arm64.json

@@ -994,6 +994,21 @@
 			],
 			"description": "Drupal CMS.  Make sure you run the install script under tools before installing.",
 			"env": [
+				{
+					"default": "1000",
+					"label": "PUID",
+					"name": "PUID"
+				},
+				{
+					"default": "1000",
+					"label": "PGID",
+					"name": "PGID"
+				},
+                {
+					"default": "America/New_York",
+                    "label": "TZ",
+                    "name": "TZ"
+                },
 				{
 					"default": "",
 					"label": "MYSQL_ROOT_PASSWORD",