From 51693a7860f16ee9f97019ae1732b574a9e2af58 Mon Sep 17 00:00:00 2001 From: finn Date: Thu, 8 Aug 2024 16:14:28 +0000 Subject: [PATCH] add registration switch env composes --- compose.yaml.local | 13 +++++++------ compose.yaml.prod | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/compose.yaml.local b/compose.yaml.local index 567274f..4b1bd31 100644 --- a/compose.yaml.local +++ b/compose.yaml.local @@ -44,6 +44,7 @@ services: - DOTENV_FROM_ADDRESS=${FLASK_MAIL_FROM} - DOTENV_JWT_PHRASE=${FLASK_JWT_PHRASE} - DOTENV_REAL_HOSTNAME=${FLASK_REAL_HOSTNAME} + - DOTENV_ALLOW_REGISTRATION=${ALLOW_REGISTRATION} #ports: # - 8000:8000 expose: @@ -117,12 +118,12 @@ services: - frontnet pmb: - build: - args: - GPG_PP: $BUILD_GPG_PP - context: pmb-pf - dockerfile: Dockerfile - #image: site_pmb:latest + #build: + # args: + # GPG_PP: $BUILD_GPG_PP + # context: pmb-pf + # dockerfile: Dockerfile + image: site_pmb:latest expose: - "25" env_file: diff --git a/compose.yaml.prod b/compose.yaml.prod index c537da6..bff8591 100644 --- a/compose.yaml.prod +++ b/compose.yaml.prod @@ -44,6 +44,7 @@ services: - DOTENV_FROM_ADDRESS=${FLASK_MAIL_FROM} - DOTENV_JWT_PHRASE=${FLASK_JWT_PHRASE} - DOTENV_REAL_HOSTNAME=${FLASK_REAL_HOSTNAME} + - DOTENV_ALLOW_REGISTRATION=${ALLOW_REGISTRATION} #ports: # - 8000:8000 expose: @@ -117,12 +118,12 @@ services: - frontnet pmb: - build: - args: - GPG_PP: $BUILD_GPG_PP - context: pmb-pf - dockerfile: Dockerfile - #image: site_pmb:latest + #build: + # args: + # GPG_PP: $BUILD_GPG_PP + # context: pmb-pf + # dockerfile: Dockerfile + image: site_pmb:latest expose: - "25" env_file: