From e5056086d6579a3997498c5221932982122a8218 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 8 Nov 2020 20:12:56 +0100 Subject: [PATCH] Choose port and use local server IP --- .envrc.sample | 2 +- compose.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.envrc.sample b/.envrc.sample index 8cf5018..ed09b02 100644 --- a/.envrc.sample +++ b/.envrc.sample @@ -39,7 +39,7 @@ export SMTP_PORT=587 export SMTP_USER_NAME=foodsoft export SMTP_SERVER_PORT=2525 -export SMTP_SERVER_HOST=order.biobulkbende.org +export SMTP_SERVER_HOST=0.0.0.0 export SECRET_DB_PASSWORD_VERSION=v1 export SECRET_DB_ROOT_PASSWORD_VERSION=v1 diff --git a/compose.yml b/compose.yml index fa71ca1..c5eba2a 100644 --- a/compose.yml +++ b/compose.yml @@ -115,6 +115,8 @@ services: smtp: image: "foodcoops/foodsoft:4.7.0" + ports: + - "2525:2525" configs: - source: db_config target: /usr/src/app/config/database.yml