Support encrypted connections to MySQL/Maria and Postgres

This commit is contained in:
Alejandro Celaya
2024-12-18 09:47:21 +01:00
parent 83570f5c25
commit 4e7d09035a
2 changed files with 22 additions and 10 deletions

View File

@@ -36,6 +36,7 @@ enum EnvVars: string
case DB_HOST = 'DB_HOST';
case DB_UNIX_SOCKET = 'DB_UNIX_SOCKET';
case DB_PORT = 'DB_PORT';
case DB_USE_ENCRYPTION = 'DB_USE_ENCRYPTION';
case GEOLITE_LICENSE_KEY = 'GEOLITE_LICENSE_KEY';
case CACHE_NAMESPACE = 'CACHE_NAMESPACE';
case REDIS_SERVERS = 'REDIS_SERVERS';
@@ -147,6 +148,7 @@ enum EnvVars: string
'mssql' => '1433',
default => '3306',
},
self::DB_USE_ENCRYPTION => false,
self::MERCURE_INTERNAL_HUB_URL => self::MERCURE_PUBLIC_HUB_URL->loadFromEnv(),