add registration switch env composes
This commit is contained in:
parent
8f95303d11
commit
51693a7860
@ -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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user