Non-interactive mode

Below you will find a complete list of commands required to install and configure Buddy Enterprise in non-interactive mode. This way you can easily automate the process of provisioning new instances.

Installation commands

curl -sSL https://get.buddy.works
sudo buddy --yes install

Configuration commands

sudo buddy set smtp --host $HOST_ADDRESS --port $PORT --from $FROM_ADDRESS --user $SMTP_USER --pass $SMTP_PASS
sudo buddy set azure --id $AZURE_ID --secret $AZURE_SECRET
sudo buddy set google --id $GOOGLE_ID --secret $GOOGLE_SECRET
sudo buddy set telegram --name $TELEGRAM_BOT_NAME --token $TELEGRAM_BOT_TOKEN
sudo buddy set shopify --id $SHOPIFY_ID --secret $SHOPIFY_SECRET
sudo buddy set github --id $GITHUB_ID --secret $GITHUB_SECRET --webhook $WEBHOOK_ADDRESS
sudo buddy set digitalocean --id $DIGITALOCEAN_ID --secret $DIGITALOCEAN_SECRET
sudo buddy set bitbucket --id $BITBUCKET_ID --secret $BITBUCKET_SECRET --webhook $WEBHOOK_ADDRESS
sudo buddy set slack --id $SLACK_ID --secret $SLACK_SECRET
sudo buddy set pushbullet --id $PUSHBULLET_ID --secret $PUSHBULLET_SECRET
sudo buddy set gitlab --id $GITLAB_ID --secret $GITLAB_SECRET --webhook $WEBHOOK_ADDRESS
sudo buddy set heroku --id $HEROKU_ID --secret $HEROKU_SECRET
sudo buddy set netlify --id $NETLIFY_ID --secret $NETLIFY_SECRET
sudo buddy set domain $DOMAIN_ADDRESS
sudo buddy set sns --sender $SNS_SENDER_NAME --secret $SNS_SECRET --key $SNS_KEY
sudo buddy set ipsandports --externalip $EXTERNAL_ID --serverip $SERVER_IP --porthttps $HTTPS_PORT --porthttp $HTTP_PORT --portssh $SSH_PORT --portregistry $REGISTRY_PORT
sudo buddy set limits --cpulimit 0 --repomaxsize 100 --executions 4 --actions 4 --memorylimit 2048m
sudo buddy set datapath $INSTALLATION_PATH
sudo buddy set ldap --host $LDAP_HOST --port $LDAP_PORT --ssl="FALSE/TRUE" --user="$LDAP_USER" --pass $LDAP_PASSWORD --filter='$LDAP_FILTER' --base="$LDAP_BASE" --email $LDAP_EMAIL --name $LDAP_NAME
sudo buddy set gitlabenterprise --id $GITLAB_ENTERPRISE_ID --secret $GITLAB_ENTERPRISE_SECRET --url $GITLAB_ENTERPRISE_URL --webhook $WEBHOOK_ADDRESS
sudo buddy set license $BUDDY_LICENSE_ID