Commit 880f4b8c authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

schleuder-web config changed upstream

parent 16349da5
...@@ -23,13 +23,16 @@ function abort { ...@@ -23,13 +23,16 @@ function abort {
# schleuder-web config # schleuder-web config
[ -z ${WEBSCHLOCKER_CONFIG_HOSTNAME+x} ] && WEBSCHLOCKER_CONFIG_HOSTNAME=$( hostname ) [ -z ${WEBSCHLOCKER_CONFIG_HOSTNAME+x} ] && WEBSCHLOCKER_CONFIG_HOSTNAME=$( hostname )
[ -z ${WEBSCHLOCKER_CONFIG_SCHLEUDERD_URI+x} ] && WEBSCHLOCKER_CONFIG_SCHLEUDERD_URI="http://localhost:4567/"
[ -z ${WEBSCHLOCKER_CONFIG_MAILER_FROM+x} ] && WEBSCHLOCKER_CONFIG_MAILER_FROM="noreply@$WEBSCHLOCKER_CONFIG_HOSTNAME" [ -z ${WEBSCHLOCKER_CONFIG_MAILER_FROM+x} ] && WEBSCHLOCKER_CONFIG_MAILER_FROM="noreply@$WEBSCHLOCKER_CONFIG_HOSTNAME"
[ -z ${WEBSCHLOCKER_CONFIG_DELIVERY_METHOD+x} ] && WEBSCHLOCKER_CONFIG_DELIVERY_METHOD="smtp" [ -z ${WEBSCHLOCKER_CONFIG_DELIVERY_METHOD+x} ] && WEBSCHLOCKER_CONFIG_DELIVERY_METHOD="smtp"
[ -z ${WEBSCHLOCKER_CONFIG_SENDMAIL_ARGUMENTS+x} ] && WEBSCHLOCKER_CONFIG_SENDMAIL_ARGUMENTS="-t -i -f" [ -z ${WEBSCHLOCKER_CONFIG_SENDMAIL_ARGUMENTS+x} ] && WEBSCHLOCKER_CONFIG_SENDMAIL_ARGUMENTS="-t -i -f"
[ -z ${WEBSCHLOCKER_CONFIG_SMTP_ADDRESS+x} ] && WEBSCHLOCKER_CONFIG_SMTP_ADDRESS="localhost" [ -z ${WEBSCHLOCKER_CONFIG_SMTP_ADDRESS+x} ] && WEBSCHLOCKER_CONFIG_SMTP_ADDRESS="localhost"
[ -z ${WEBSCHLOCKER_CONFIG_SMTP_PORT+x} ] && WEBSCHLOCKER_CONFIG_SMTP_PORT="25" [ -z ${WEBSCHLOCKER_CONFIG_SMTP_PORT+x} ] && WEBSCHLOCKER_CONFIG_SMTP_PORT="25"
[ -z ${WEBSCHLOCKER_CONFIG_OPENSSL_VERIFY_MODE+x} ] && WEBSCHLOCKER_CONFIG_OPENSSL_VERIFY_MODE="none" [ -z ${WEBSCHLOCKER_CONFIG_OPENSSL_VERIFY_MODE+x} ] && WEBSCHLOCKER_CONFIG_OPENSSL_VERIFY_MODE="none"
[ -z ${WEBSCHLOCKER_CONFIG_API_HOST+x} ] && WEBSCHLOCKER_CONFIG_API_HOST="localhost"
[ -z ${WEBSCHLOCKER_CONFIG_API_PORT+x} ] && WEBSCHLOCKER_CONFIG_API_PORT="4567"
[ -z ${WEBSCHLOCKER_CONFIG_API_USE_TLS+x} ] && WEBSCHLOCKER_CONFIG_API_USE_TLS="false"
[ -z ${WEBSCHLOCKER_CONFIG_API_TLS_FINGERPRINT+x} ] && WEBSCHLOCKER_CONFIG_API_TLS_FINGERPRINT=""
# db settings # db settings
[ -z ${WEBSCHLOCKER_DB_ADAPTER+x} ] && WEBSCHLOCKER_DB_ADAPTER="sqlite3" [ -z ${WEBSCHLOCKER_DB_ADAPTER+x} ] && WEBSCHLOCKER_DB_ADAPTER="sqlite3"
...@@ -155,6 +158,11 @@ defaults: {} ...@@ -155,6 +158,11 @@ defaults: {}
production: production:
web_hostname: $WEBSCHLOCKER_CONFIG_HOSTNAME web_hostname: $WEBSCHLOCKER_CONFIG_HOSTNAME
schleuderd_uri: $WEBSCHLOCKER_CONFIG_SCHLEUDERD_URI schleuderd_uri: $WEBSCHLOCKER_CONFIG_SCHLEUDERD_URI
api:
host: $WEBSCHLOCKER_CONFIG_API_HOST
port: $WEBSCHLOCKER_CONFIG_API_PORT
use_tls: $WEBSCHLOCKER_CONFIG_API_USE_TLS
tls_fingerprint: $WEBSCHLOCKER_CONFIG_API_TLS_FINGERPRINT
mailer_from: $WEBSCHLOCKER_CONFIG_MAILER_FROM mailer_from: $WEBSCHLOCKER_CONFIG_MAILER_FROM
delivery_method: $WEBSCHLOCKER_CONFIG_DELIVERY_METHOD delivery_method: $WEBSCHLOCKER_CONFIG_DELIVERY_METHOD
sendmail_settings: sendmail_settings:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment