Compare commits

...

2 Commits

Author SHA1 Message Date
Håvard Gjøby Thom
6425b1608e
Merge 82f319672e into 6fb6c58454 2024-12-13 00:07:40 +08:00
Håvard Thom
82f319672e Fix config bug in Alpine Vaultwarden 2024-12-10 23:07:44 +01:00
2 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,9 @@ msg_ok "Installed Dependencies"
msg_info "Installing Alpine-Vaultwarden"
$STD apk add vaultwarden
sed -i -e 's/# export ADMIN_TOKEN=.*/export ADMIN_TOKEN='\'''\''/' -e '/^# export ROCKET_ADDRESS=0\.0\.0\.0/s/^# //' -e 's|export WEB_VAULT_ENABLED=.*|export WEB_VAULT_ENABLED=true|' /etc/conf.d/vaultwarden
sed -i -e 's|export WEB_VAULT_ENABLED=.*|export WEB_VAULT_ENABLED=true|' /etc/conf.d/vaultwarden
echo -e "export ADMIN_TOKEN=''" >>/etc/conf.d/vaultwarden
echo -e "export ROCKET_ADDRESS=0.0.0.0" >>/etc/conf.d/vaultwarden
msg_ok "Installed Alpine-Vaultwarden"
msg_info "Installing Web-Vault"

View File

@ -47,7 +47,7 @@
"type": "warning"
},
{
"text": "Build Settings for normal LXC: 6GB RAM - 6GB Storage - 4vCPU",
"text": "To set the Admin Token, run the command below (or type update) in the LXC Console.",
"type": "info"
}
]