That concludes the process - a Dashboard instance is running at http://localhost:8183 and you can log into it with the username of 'admin' using the password printed to the terminal above.
You can also connect via SSH to the container under which Zato is running. User: zato. Password: second one of the two printed on terminal above.
Directory /opt/hot-deploy inside the container can be mapped to a local one on host. Any service placed inside the local directory will be automatically deployed to all servers in the cluster in the container.
For instance, to map local directory /my/services to /opt/hot-deploy in the container, start the container as below:
A starting container can import enmasse definitions with objects that the cluster running in the container should use.
In this manner, channels, connections and other elements of a cluster's configuration can be recreated each time a new container is spun up.
In order for a container to read in an enmasse file, it needs to be made available to the container through a mounted volume which is next used by the ZATO_ENMASSE_FILE environment variable.
The Zato image uses several environment variables which can be used to fine-tune the resulting installation.
They are not required, and default values will be substituted if any is missing, but they may be employed to configure particular details of each of the components.
|ZATO_SSH_PASSWORD||Password for user
|ZATO_WEB_ADMIN_PASSWORD||Password for the web admin’s technical account user to connect with. If not defined, the value is generated automatically at runtime.|
|ZATO_IDE_PUBLISHER_PASSWORD||Password for user
|ZATO_ENMASSE_FILE||Full path to an enmasse file with object definitions to been imported.|
|REDIS_HOSTNAME||Redis service hostname. Default value is localhost.|
|ODB_TYPE||SQL ODB type to use. Must be one of:
|ODB_HOSTNAME||SQL ODB hostname|
|ODB_PORT||SQL ODB port|
|ODB_NAME||SQL ODB database|
|ODB_USERNAME||SQL ODB username|
|ODB_PASSWORD||SQL ODB password|
|ZATO_ENMASSE_INITIAL_SLEEP||How many seconds to wait before running enmasse after hot-deploying services. Defaults to 30.|