This commit is contained in:
qiaofeng1227 2024-03-12 16:13:37 +08:00
parent c0c667e207
commit c38e177a4c
2 changed files with 2 additions and 1 deletions

View file

@ -69,6 +69,7 @@ for ((i=0; i<$length; i++)); do
section=${sections[$i]}
if [[ -n ${passwords[$container]} ]]; then
echo "$container start to set password"
docker exec -i websoft9-apphub apphub setconfig --section $section --key user_name --value ${usernames[$container]}
docker exec -i websoft9-apphub apphub setconfig --section $section --key user_pwd --value ${passwords[$container]}
else
echo "Password for $container is not set or empty. Skipping..."

View file

@ -1,5 +1,5 @@
{
"version": "2.0.0",
"version": "2.0.1",
"plugins": {
"portainer": "0.0.9",
"nginx": "0.0.7",