The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Convos::Manual::Environment - Environment variables for Convos

SYNOPSIS

You can change the behavior of Convos by setting environment variables:

  $ CONVOS_REDIS_URL=localhost/12 ./script/convos

ENVIRONMENT VARIABLES

Convos can be configured with the following environment variables:

CONVOS_ARCHIVE_DIR

Set this variable to a custom directory where Convos can store the IRC logs.

CONVOS_BACKEND_EMBEDDED

Set CONVOS_MANUAL_BACKEND to a true value if you want to force the frontend to start the backend embedded. This is useful if you want to test Convos with morbo.

CONVOS_DEBUG

Set CONVOS_DEBUG to a true value for extra debug output to STDERR.

CONVOS_DISABLE_AUTO_EMBED

Set CONVOS_DISABLE_AUTO_EMBED to a true value to disable links from expanding into images, movies or other dynamic content.

CONVOS_MANUAL_BACKEND

Disable the frontend from automatically starting the backend.

CONVOS_ORGANIZATION_NAME

Set this to customize the organization name on the landing page, in the title tag and other various sites. The default is Nordaaker.

CONVOS_REDIS_URL

This is the URL to the Redis backend, and should follow this format:

  redis://x:password@server:port/database_index
  redis://127.0.0.1:6379/1 # suggested value

Convos will use REDISCLOUD_URL, REDISTOGO_URL, DOTCLOUD_DATA_REDIS_URL or default to "redis://127.0.0.1:6379/1" unless CONVOS_REDIS_URL is not set.

It is also possible to set CONVOS_REDIS_INDEX=2 to use the database index 2, instead of the default. This is useful when REDISTOGO_URL or DOTCLOUD_DATA_REDIS_URL does not contain the datbase index.

CONVOS_INVITE_CODE

If set must be appended to register url. Example:

  http://your.convos.by/register/some-secret-invite-code

CONVOS_SECURE_COOKIES

Set CONVOS_SECURE_COOKIES to true in order to set the secure flag on all session cookies. Requires HTTPS.

MOJO_IRC_DEBUG

Set MOJO_IRC_DEBUG for extra IRC debug output to STDERR.

MOJO_LISTEN

List of one or more locations to listen on. This also works for hypnotoad. Example:

  MOJO_LISTEN="http://*:8080,https://*:8443"

"listen" in Mojo::Server::Daemon.

MOJO_REVERSE_PROXY

Set this to a true value if you're using hypnotoad behind a reverse proxy, such as nginx.

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org

Marcus Ramberg - marcus@nordaaker.com