There was an error while loading. Please reload this page.
1 parent 349b28d commit e900933Copy full SHA for e900933
1 file changed
install/bichon-install.sh
@@ -16,11 +16,15 @@ setup_hwaccel
16
17
fetch_and_deploy_gh_release "bichon" "rustmailer/bichon" "prebuild" "latest" "/opt/bichon" "bichon-*-x86_64-unknown-linux-gnu.tar.gz"
18
mkdir -p /opt/bichon-data
19
+BICHON_ENC_PASSWORD=$(openssl rand -base64 32 | tr -d "=+/" | cut -c1-32)
20
21
msg_info "Setting up Bichon"
22
cat <<EOF >/opt/bichon/bichon.env
23
BICHON_ROOT_DIR=/opt/bichon-data
24
BICHON_LOG_LEVEL=info
25
+BICHON_ENCRYPT_PASSWORD=$BICHON_ENC_PASSWORD
26
+BICHON_PUBLIC_URL=http://${LOCAL_IP}:15630
27
+BICHON_CORS_ORIGINS=http://${LOCAL_IP}:15630
28
EOF
29
msg_ok "Setup Bichon"
30
0 commit comments