mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Replace the value in 'secret' within the config.yaml file with the PASSWORD from the .env file.
This commit is contained in:
parent
941c1f954e
commit
308f84e222
@ -40,3 +40,7 @@ sed -i '/redis:/,/password:/s/password: .*/password: '${PASSWORD}'/' $config_fil
|
||||
sed -i "/minio:/,/isDistributedMod:/ s/accessKeyID:.*/accessKeyID: $USER/" $config_file
|
||||
sed -i "/minio:/,/isDistributedMod:/ s/secretAccessKey:.*/secretAccessKey: $PASSWORD/" $config_file
|
||||
sed -i '/minio:/,/endpoint:/s|endpoint: .*|endpoint: '${MINIO_ENDPOINT}'|' $config_file
|
||||
|
||||
# Replace secret for token
|
||||
sed -i "s/secret: .*/secret: $PASSWORD/" $config_file
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user