Skip to content

Using external PostgreSQL and RabbitMQ instances

Thomas G. Boop edited this page Jan 30, 2017 · 1 revision

By using external instances of PostgreSQL and RabbitMQ multiple CSync instances can be used to handle higher workloads.

##External PostgreSQL

To use an external PostreSQL instance, pass along the following environment variable when starting a CSync docker container.

CSYNC_DB_STRING="jdbc:postgresql://[host]:[port]/[database]?user=[user]&password=[password]"

Check out the PostgreSQL documentation for additional configuration options.

##External RabbitMQ

To use an external RabbitMQ instance, pass along the following environment variable when starting a CSync docker container.

CSYNC_RABBITMQ_URI="amqp://[user]:[password]@[host]:[port]/[virtualhost]"

Check out the RabbitMQ documentation for additional configuration options.