mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: refactor code
This commit is contained in:
+1
-1
@@ -791,7 +791,7 @@ services:
|
||||
- OPR_PROXY_HEALTHCHECK=enabled
|
||||
|
||||
mariadb:
|
||||
image: mysql:8.0.33 # fix issues when upgrading using: mysql_upgrade -u root -p
|
||||
image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p
|
||||
container_name: appwrite-mariadb
|
||||
<<: *x-logging
|
||||
networks:
|
||||
|
||||
@@ -283,10 +283,12 @@ class Backup extends Action
|
||||
*/
|
||||
public function checkEnvVariables(): void
|
||||
{
|
||||
foreach ([
|
||||
foreach (
|
||||
[
|
||||
'_APP_CONNECTIONS_BACKUPS_STORAGE',
|
||||
'_APP_CONNECTIONS_DB_REPLICAS',
|
||||
] as $env) {
|
||||
] as $env
|
||||
) {
|
||||
if (empty(App::getEnv($env))) {
|
||||
throw new Exception('Can\'t read ' . $env);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user