mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
Harden Docker service credential setup
This commit is contained in:
parent
17054e3f26
commit
678d4bfb1e
9 changed files with 255 additions and 9 deletions
|
|
@ -245,6 +245,8 @@ Write-Info "[2/$TotalSteps] Creating environment file..."
|
|||
$ossJwtSecret = New-HexSecret 32
|
||||
$postgresPassword = New-HexSecret 32
|
||||
$redisPassword = New-HexSecret 32
|
||||
$minioRootUser = "dograh$((New-HexSecret 6).Substring(0, 12))"
|
||||
$minioRootPassword = New-HexSecret 32
|
||||
|
||||
$envLines = @(
|
||||
'# Container registry for Dograh images'
|
||||
|
|
@ -263,6 +265,11 @@ $envLines = @(
|
|||
'# container.'
|
||||
"REDIS_PASSWORD=$redisPassword"
|
||||
''
|
||||
'# MinIO root credentials. Used by the MinIO container and the API''s'
|
||||
'# MINIO_ACCESS_KEY / MINIO_SECRET_KEY.'
|
||||
"MINIO_ROOT_USER=$minioRootUser"
|
||||
"MINIO_ROOT_PASSWORD=$minioRootPassword"
|
||||
''
|
||||
'# Telemetry (set to false to disable)'
|
||||
"ENABLE_TELEMETRY=$EnableTelemetry"
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue