Some more changes for Docker
This commit is contained in:
+3
-3
@@ -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' => [
|
||||
|
||||
Reference in New Issue
Block a user