From 29b6287dca978365f73d06175cc44c906bf5695e Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sun, 23 May 2021 13:49:14 +0200 Subject: [PATCH] Allow to configure if multiple install --- .env.sample | 1 + app_config.yml.tmpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.sample b/.env.sample index 380d86f..a2bdfee 100644 --- a/.env.sample +++ b/.env.sample @@ -3,6 +3,7 @@ APP=foodsoft DOMAIN=order.biobulkbende.org LETS_ENCRYPT_ENV=production +FOODCOOP_MULTI_INSTALL=false FOODCOOP_NAME=biobulkbende FOODCOOP_CITY=Rotterdam FOODCOOP_COUNTRY=The Netherlands diff --git a/app_config.yml.tmpl b/app_config.yml.tmpl index a554359..3db19a7 100644 --- a/app_config.yml.tmpl +++ b/app_config.yml.tmpl @@ -3,7 +3,7 @@ default: &defaults # If you wanna serve more than one foodcoop with one installation # Don't forget to setup databases for each foodcoop. See also MULTI_COOP_INSTALL - multi_coop_install: false + multi_coop_install: {{ env "FOODCOOP_MULTI_INSTALL" }} # If multi_coop_install you have to use a coop name, which you you wanna be selected by default default_scope: "{{ env "FOODCOOP_NAME" }}"