File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 4444 },
4545 "notes" : [
4646 {
47- "text" : " After the initial installation: Enter your desired admin user and password and then click on Sign Up " ,
47+ "text" : " For admin username and password type `cat ~/komodo.creds` inside LXC. " ,
4848 "type" : " info"
4949 }
5050 ]
Original file line number Diff line number Diff line change @@ -62,15 +62,23 @@ curl -fsSL "https://raw.githubusercontent.com/moghtech/komodo/main/compose/$DB_C
6262msg_info " Setup Komodo Environment"
6363curl -fsSL " https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env" -o " /opt/komodo/compose.env"
6464DB_PASSWORD=$( openssl rand -base64 16 | tr -d ' /+=' )
65+ ADMIN_PASSWORD=$( openssl rand -base64 8 | tr -d ' /+=' )
6566PASSKEY=$( openssl rand -base64 24 | tr -d ' /+=' )
6667WEBHOOK_SECRET=$( openssl rand -base64 24 | tr -d ' /+=' )
6768JWT_SECRET=$( openssl rand -base64 24 | tr -d ' /+=' )
6869
6970sed -i " s/^KOMODO_DB_USERNAME=.*/KOMODO_DB_USERNAME=komodo_admin/" /opt/komodo/compose.env
7071sed -i " s/^KOMODO_DB_PASSWORD=.*/KOMODO_DB_PASSWORD=${DB_PASSWORD} /" /opt/komodo/compose.env
72+ sed -i " s/^KOMODO_INIT_ADMIN_PASSWORD=changeme/KOMODO_INIT_ADMIN_PASSWORD=${ADMIN_PASSWORD} /" /opt/komodo/compose.env
7173sed -i " s/^KOMODO_PASSKEY=.*/KOMODO_PASSKEY=${PASSKEY} /" /opt/komodo/compose.env
7274sed -i " s/^KOMODO_WEBHOOK_SECRET=.*/KOMODO_WEBHOOK_SECRET=${WEBHOOK_SECRET} /" /opt/komodo/compose.env
7375sed -i " s/^KOMODO_JWT_SECRET=.*/KOMODO_JWT_SECRET=${JWT_SECRET} /" /opt/komodo/compose.env
76+ {
77+ echo " Komodo Credentials"
78+ echo " "
79+ echo " Admin User : admin"
80+ echo " Admin Password: $ADMIN_PASSWORD "
81+ } >> ~/komodo.creds
7482msg_ok " Setup Komodo Environment"
7583
7684msg_info " Initialize Komodo"
You can’t perform that action at this time.
0 commit comments