Zato installation under Vagrant

Requirements

  • Vagrant, any version

Installation steps

  • Get the Zato Vagrantfile:
mkdir -p ~/zato-vagrant && cd ~/zato-vagrant
curl \
 https://raw.githubusercontent.com/zatosource/zato-build/master/vagrant/zato-3.2/download.sh | \
 bash
  • Deploy Zato in Vagrant:
vagrant up
  • Access the virtual machine using ssh:
vagrant ssh
sudo su - zato
  • Retrieve your dynamically generated password for Zato Dashboard:
vagrant ssh -c 'cat /opt/zato/web_admin_password'

That concludes the process - a Dashboard instance is running on http://localhost:8183 and you can log into it with the username 'admin' using the password printed in the terminal above.

Environment variables

Dedicated environment variables can be used to fine-tune the resulting installation. If any is missing, a default value will be automatically generated.

Variable Notes
ZATO_WEB_ADMIN_PASSWORD Password to login to web-admin with
ZATO_IDE_PUBLISHER_PASSWORD Password for IDE integration
ZATO_ENMASSE_FILE Full path or URL to an enmasse file with object definitions to been imported.
ZATO_HOST_DEPLOY_DIR Full path to folder containing the services to hot deploy

Examples of how environment variables can be specified

ZATO_WEB_ADMIN_PASSWORD=<password-here> vagrant up
ZATO_HOST_DEPLOY_DIR=/tmp/zato-services vagrant up