updated phpmyadmin + file upload limit (#152)
This commit is contained in:
parent
14ee1aaa64
commit
83c9464a89
|
|
@ -10,21 +10,30 @@
|
||||||
"image": "phpmyadmin/phpmyadmin:$$cap_pma_version",
|
"image": "phpmyadmin/phpmyadmin:$$cap_pma_version",
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"environment": {
|
"environment": {
|
||||||
"PMA_ARBITRARY": "1"
|
"PMA_ARBITRARY": "1",
|
||||||
|
"UPLOAD_LIMIT": "$$cap_upload_limit"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"instructions": {
|
"instructions": {
|
||||||
"start": "PhpMyAdmin is the most popular web interface for MySQL & MariaDB. Simply install PhpMyAdmin and then select what database you want to connect to.\n\n Enter your PhpMyAdmin Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
"start": "PhpMyAdmin is the most popular web interface for MySQL & MariaDB. Simply install PhpMyAdmin and then select what database you want to connect to.\n\n Enter your PhpMyAdmin Configuration parameters and click on next. It will take about a minute for the process to finish.",
|
||||||
"end": "PhpMyAdmin is deployed and available as $$cap_appname"
|
"end": "PhpMyAdmin is deployed and available as $$cap_appname. \n\nNote: Once deployed you can easily change the upload limit file size by modifying the value in the variable in the menu: App Configs>UPLOAD_LIMIT.\n\nIf you need to upload files bigger than 500M you will also need to modify the option: 'client_max_body_size 500m' by clicking in the menu: HTTP Settings>Edit Default Nginx Configurations."
|
||||||
},
|
},
|
||||||
"variables": [{
|
"variables": [
|
||||||
"id": "$$cap_pma_version",
|
{
|
||||||
"label": "PHP My Admin Version Tag",
|
"id": "$$cap_upload_limit",
|
||||||
"description": "Check out their Docker page for the valid tags https://hub.docker.com/r/phpmyadmin/phpmyadmin/tags/",
|
"label": "File size upload limit",
|
||||||
"defaultValue": "4.8",
|
"description": "It will override the default value for apache and php-fpm inside the container. Default size is 2M",
|
||||||
"validRegex": "/^([^\\s^\\/])+$/"
|
"defaultValue": "2M",
|
||||||
}]
|
"validRegex": "/^([^\\s^\\/])+$/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "$$cap_pma_version",
|
||||||
|
"label": "PHP My Admin Version Tag",
|
||||||
|
"description": "Check out their Docker page for the valid tags https://hub.docker.com/r/phpmyadmin/phpmyadmin/tags/",
|
||||||
|
"defaultValue": "5.0.2",
|
||||||
|
"validRegex": "/^([^\\s^\\/])+$/"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue