This commit is contained in:
CanbiZ 2025-06-05 10:00:29 +02:00
parent 03eede7548
commit 889d413aad

View File

@ -25,7 +25,7 @@ chown root:root /usr/bin/zot
mkdir -p /etc/zot mkdir -p /etc/zot
curl -fsSL https://raw.githubusercontent.com/project-zot/zot/refs/heads/main/examples/config-ui.json -o /etc/zot/config.json curl -fsSL https://raw.githubusercontent.com/project-zot/zot/refs/heads/main/examples/config-ui.json -o /etc/zot/config.json
PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
$STD htpasswd -bnB admin "$PASSWORD" /etc/zot/htpasswd $STD htpasswd -b -B -c /etc/zot/htpasswd admin "$PASSWORD"
msg_ok "Installed Zot Registry" msg_ok "Installed Zot Registry"
msg_info "Setup Service" msg_info "Setup Service"