Docker
Last updated
Was this helpful?
Last updated
Was this helpful?
Official docker image is available in . We also have a some cool examples with with built-in orchestration and scalability.
Here is a quick example showing how to link a Janus container to a MongoDB container:
Start your database:
If you wish to use a database instead of a file system based configuration just start the mongodb container:
Configure the update frequency
You should configure how frequently Janus will check for changes on your database. You can set this by changing the cluster configuration:
You can find more information about Janus clusters in the section.
Start Janus:
Start a Janus container and link it to your database container (if you are using it), configuring the DATABASE_DSN
environment variable with the connection string like mongodb://janus-database:27017/janus
:
Janus is running: