From ee5fbe5d2de568d48b4825674ad0417f12569f9c Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Sun, 14 Jan 2018 13:54:23 +0100 Subject: [PATCH] [FIX] missin V8, V9, V10 config for smtp --- 8.0.Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/8.0.Dockerfile b/8.0.Dockerfile index 0428aa52..4a571b19 100644 --- a/8.0.Dockerfile +++ b/8.0.Dockerfile @@ -20,7 +20,13 @@ ONBUILD ARG COMPILE=true ONBUILD ARG CONFIG_BUILD=true ONBUILD ARG PIP_INSTALL_ODOO=true ONBUILD ARG ADMIN_PASSWORD=admin + ONBUILD ARG SMTP_SERVER=smtp +ONBUILD ARG SMTP_PORT=25 +ONBUILD ARG SMTP_USER=false +ONBUILD ARG SMTP_PASSWORD=false +ONBUILD ARG SMTP_SSL=false +ONBUILD ARG EMAIL_FROM="" ONBUILD ARG PROXY_MODE=false ONBUILD ARG WITHOUT_DEMO=all ONBUILD ARG PYTHONOPTIMIZE=1 @@ -38,6 +44,11 @@ ONBUILD ENV ADMIN_PASSWORD="$ADMIN_PASSWORD" \ PGDATABASE="$PGDATABASE" \ PROXY_MODE="$PROXY_MODE" \ SMTP_SERVER="$SMTP_SERVER" \ + SMTP_PORT=$SMTP_PORT \ + SMTP_USER="$SMTP_USER" \ + SMTP_PASSWORD="$SMTP_PASSWORD" \ + SMTP_SSL="$SMTP_SSL" \ + EMAIL_FROM="$EMAIL_FROM" \ WITHOUT_DEMO="$WITHOUT_DEMO" ONBUILD ARG LOCAL_CUSTOM_DIR=./custom ONBUILD COPY $LOCAL_CUSTOM_DIR /opt/odoo/custom