Configuration options
🚧 Docs in-progress
Some of these are specific to Co-op Cloud hosting
Basic
TYPE
,SITE_URL
,LETS_ENCRYPT_ENV
- leave as-isDOMAIN
- this is the domain name which resolves to karrot. Should be set to the same as app nameSITE_NAME
- what you want your Karrot instance to be called. This will appear i.e. in registration mails.SITE_LOGO
- set to Karrot project logo by default, point it to a .png image reachable via http(s)
GeoIP
MAXMIND_ACCOUNT_ID
andMAXMIND_LICENSE_KEY
are API credentials from maxmind.com. You need an account there to get GeoIP data for Karrot. You only need the free account and then generate the license key.
Email
Karrot uses both outgoing and incoming email.
EMAIL_BACKEND
:- if set to
console
, no e-mails will be sent to users, instead they will be logged toapp
service logs and accessible by runningabra app logs <karrot app name> app
. Useful for debugging! - if set to
smtp
you have to configure an e-mail server using theSMTP_*
options - if you set to
postal
you will need a postal instance and then configure thePOSTAL_*
options below
- if set to
EMAIL_FROM
- the sender e-mail address
SMTP settings
SMTP_USER
- login to the SMTP server. Often the same asEMAIL_FROM
.SMTP_PASSWORD
- password for the SMTP serverSMTP_HOST
- domain (or IP address) of the SMTP serverSMTP_USE_SSL
- leave commented. If you want to use SSL instead of TLS setSMTP_USE_TLS
tofalse
and this totrue
SMTP_USE_TLS
- set to true to enable encryptionSMTP_PORT
- set to 587 which is default TLS SMTP port.
Postal settings
If you're using postal, you'll also need to configure that appropriately, which is out of the scope of this document. You're welcome to contact us about that, we use postal ourselves.
POSTAL_API_URL
- a URL to a postal serverPOSTAL_API_KEY
- postal API keyPOSTAL_WEBHOOK_KEY
- postal webhook key (for incoming email)