Configuration¶
Configuration is provided through a collection of environment variables. These can be set on the host itself
or defined in docker/.env
.
Creating your configuration file¶
Copy the relevant .env.dist
to .env
.
cp docker/.env.dist docker/.env
Configuration You Must Set¶
Things are not going to work nicely if you don’t set these.
ASYNC_HTTP_RETRIEVER_DATABASE_DATA_PATH
Set this to any writable directory that already exists.
Do not set this to /var/lib/mysql
if your host is running a MySQL instance.
This must be set before installing.
Configuration You Should Set¶
Things will work if you don’t set these, however setting is recommended as some of these values are sensitive.
ASYNC_HTTP_RETRIEVER_EXPOSED_PORT
ASYNC_HTTP_RETRIEVER_MYSQL_ROOT_PASSWORD
This must be set before installing if you want to set it.
ASYNC_HTTP_RETRIEVER_DATABASE_USER
This must be set before installing if you want to set it.
ASYNC_HTTP_RETRIEVER_DATABASE_PASSWORD
This must be set before installing if you want to set it.
ASYNC_HTTP_RETRIEVER_RABBITMQ_USER
This must be set before installing if you want to set it.
ASYNC_HTTP_RETRIEVER_RABBITMQ_PASS
This must be set before installing if you want to set it.
Configuration You Can Optionally Set¶
Set these if you like, things will work just fine if you don’t.
ASYNC_HTTP_RETRIEVER_CONSUMER_COUNT
ASYNC_HTTP_RETRIEVER_APP_SECRET
ASYNC_HTTP_RETRIEVER_CALLBACK_ALLOWED_HOSTS
ASYNC_HTTP_RETRIEVER_RETRIEVER_TIMEOUT_SECONDS
Set to any positive integer. Set to 0 for no timeout (probably a bad idea).
ASYNC_HTTP_RETRIEVER_DATABASE_NAME
This must be set before installing if you want to set it.
ASYNC_HTTP_RETRIEVER_DATABASE_USER
This must be set before installing if you want to set it.
ASYNC_HTTP_RETRIEVER_RABBITMQ_MANAGEMENT_EXPOSED_PORT
ASYNC_HTTP_RETRIEVER_HTTPBIN_EXPOSED_PORT