commit
b828055150
@ -1,5 +1,6 @@
|
|||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
MAINTAINER "Andrey Arapov <andrey.arapov@nixaid.com>"
|
MAINTAINER "Andrey Arapov <andrey.arapov@nixaid.com>"
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
# To avoid problems with Dialog and curses wizards
|
# To avoid problems with Dialog and curses wizards
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
8
launch
8
launch
@ -25,6 +25,14 @@ export TAIGA_DB_NAME=${TAIGA_DB_NAME:-taiga}
|
|||||||
export TAIGA_DB_USER=${TAIGA_DB_USER:-taiga}
|
export TAIGA_DB_USER=${TAIGA_DB_USER:-taiga}
|
||||||
export TAIGA_DB_PASSWORD=${TAIGA_DB_PASSWORD:-mysecretpassword}
|
export TAIGA_DB_PASSWORD=${TAIGA_DB_PASSWORD:-mysecretpassword}
|
||||||
|
|
||||||
|
export EMAIL_HOST=${EMAIL_HOST:-localhost}
|
||||||
|
export EMAIL_HOST_USER=${EMAIL_HOST_USER:-noreply@noreply.com}
|
||||||
|
export EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD:-password}
|
||||||
|
export EMAIL_HOST_PORT=${EMAIL_HOST_PORT:-587}
|
||||||
|
export EMAIL_USE_TLS=${EMAIL_USE_TLS:-False}
|
||||||
|
export EMAIL_BACKEND=${EMAIL_BACKEND:-django.core.mail.backends.smtp.EmailBackend}
|
||||||
|
|
||||||
|
|
||||||
# Generate configs based on the template seeds
|
# Generate configs based on the template seeds
|
||||||
envsubst < /tmp/taiga.tmpl > /etc/nginx/sites-enabled/taiga
|
envsubst < /tmp/taiga.tmpl > /etc/nginx/sites-enabled/taiga
|
||||||
envsubst < /tmp/circus.ini.tmpl > $DATA/circus.ini
|
envsubst < /tmp/circus.ini.tmpl > $DATA/circus.ini
|
||||||
|
@ -40,3 +40,10 @@ PUBLIC_REGISTER_ENABLED = ${PUBLIC_REGISTER}
|
|||||||
|
|
||||||
DEFAULT_FROM_EMAIL = "${NOREPLY_EMAIL}"
|
DEFAULT_FROM_EMAIL = "${NOREPLY_EMAIL}"
|
||||||
SERVER_EMAIL = DEFAULT_FROM_EMAIL
|
SERVER_EMAIL = DEFAULT_FROM_EMAIL
|
||||||
|
|
||||||
|
EMAIL_BACKEND = "${EMAIL_BACKEND}"
|
||||||
|
EMAIL_USE_TLS = ${EMAIL_USE_TLS}
|
||||||
|
EMAIL_HOST = "${EMAIL_HOST}"
|
||||||
|
EMAIL_HOST_USER = "${EMAIL_HOST_USER}"
|
||||||
|
EMAIL_HOST_PASSWORD = "${EMAIL_HOST_PASSWORD}"
|
||||||
|
EMAIL_PORT = ${EMAIL_HOST_PORT}
|
||||||
|
Loading…
Reference in New Issue
Block a user