add registration switch env composes

This commit is contained in:
finn 2024-08-08 16:14:28 +00:00
parent 8f95303d11
commit 51693a7860
2 changed files with 14 additions and 12 deletions

View File

@ -44,6 +44,7 @@ services:
- DOTENV_FROM_ADDRESS=${FLASK_MAIL_FROM} - DOTENV_FROM_ADDRESS=${FLASK_MAIL_FROM}
- DOTENV_JWT_PHRASE=${FLASK_JWT_PHRASE} - DOTENV_JWT_PHRASE=${FLASK_JWT_PHRASE}
- DOTENV_REAL_HOSTNAME=${FLASK_REAL_HOSTNAME} - DOTENV_REAL_HOSTNAME=${FLASK_REAL_HOSTNAME}
- DOTENV_ALLOW_REGISTRATION=${ALLOW_REGISTRATION}
#ports: #ports:
# - 8000:8000 # - 8000:8000
expose: expose:
@ -117,12 +118,12 @@ services:
- frontnet - frontnet
pmb: pmb:
build: #build:
args: # args:
GPG_PP: $BUILD_GPG_PP # GPG_PP: $BUILD_GPG_PP
context: pmb-pf # context: pmb-pf
dockerfile: Dockerfile # dockerfile: Dockerfile
#image: site_pmb:latest image: site_pmb:latest
expose: expose:
- "25" - "25"
env_file: env_file:

View File

@ -44,6 +44,7 @@ services:
- DOTENV_FROM_ADDRESS=${FLASK_MAIL_FROM} - DOTENV_FROM_ADDRESS=${FLASK_MAIL_FROM}
- DOTENV_JWT_PHRASE=${FLASK_JWT_PHRASE} - DOTENV_JWT_PHRASE=${FLASK_JWT_PHRASE}
- DOTENV_REAL_HOSTNAME=${FLASK_REAL_HOSTNAME} - DOTENV_REAL_HOSTNAME=${FLASK_REAL_HOSTNAME}
- DOTENV_ALLOW_REGISTRATION=${ALLOW_REGISTRATION}
#ports: #ports:
# - 8000:8000 # - 8000:8000
expose: expose:
@ -117,12 +118,12 @@ services:
- frontnet - frontnet
pmb: pmb:
build: #build:
args: # args:
GPG_PP: $BUILD_GPG_PP # GPG_PP: $BUILD_GPG_PP
context: pmb-pf # context: pmb-pf
dockerfile: Dockerfile # dockerfile: Dockerfile
#image: site_pmb:latest image: site_pmb:latest
expose: expose:
- "25" - "25"
env_file: env_file: