Some more changes for Docker

This commit is contained in:
Fabio Herzig
2026-07-25 22:52:10 +02:00
parent f10ff26b30
commit 1e10ed4de8
2 changed files with 13 additions and 12 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ $envMappings = [
'/REDDIS_HOST=localhost/' => 'REDDIS_HOST=redis',
'/REDDIS_HOST=YOUR_REDDIS_IP.*/' => 'REDDIS_HOST=redis',
'/REDDIS_PORT=YOUR_REDDIS_PORT.*/' => 'REDDIS_PORT=6379',
'/YOUR_REDDIS_PASSWORD/' => base64_encode(random_bytes(64)),
'/YOUR_REDDIS_PASSWORD/' => '"' . base64_encode(random_bytes(64)) . '"',
]
],
'env.db' => [
@@ -24,7 +24,7 @@ $envMappings = [
'replacements' => [
'/MYSQL_HOST=localhost/' => 'MYSQL_HOST=mariadb',
'/MYSQL_HOST=127\.0\.0\.1/' => 'MYSQL_HOST=mariadb',
'/YOUR_PASSWORD_FOR_ROOT/' => base64_encode(random_bytes(64)),
'/YOUR_PASSWORD_FOR_ROOT/' => '"' . base64_encode(random_bytes(64)) . '"',
'/YOUR_DATABASE_NAME/' => 'devdb_',
]
],
@@ -37,7 +37,7 @@ $envMappings = [
'env.pw-encryption-key' => [
'example' => 'env.pw-encryption-key.example',
'replacements' => [
'/YOUR_CUSTOM_PASSWORD_ENCRYPTION_KEY/' => base64_encode(random_bytes(64)),
'/YOUR_CUSTOM_PASSWORD_ENCRYPTION_KEY/' => '"' . base64_encode(random_bytes(64)) . '"',
]
],
'env.wk-id' => [