add args flask example and update example env

This commit is contained in:
2024-07-29 11:00:48 +00:00
parent 8c090273c7
commit 4bec4e9671
5 changed files with 52 additions and 9 deletions

View File

@@ -31,6 +31,8 @@ services:
- MYSQL_USER=flasku
#- MYSQL_PASSWORD=flaskp
- MYSQL_PASSWORD=${DOTENV_MYSQL_FLASK_PASSWORD}
- TOKEN_I=${DOTENV_TOKEN_I}
- TOKEN_C=${DOTENV_TOKEN_C}
#ports:
# - 8000:8000
expose:
@@ -94,11 +96,12 @@ services:
- frontnet
pmb:
build:
args:
GPG_PP: $BUILD_GPG_PP
context: pmb-pf
dockerfile: Dockerfile
#build:
# args:
# GPG_PP: $BUILD_GPG_PP
# context: pmb-pf
# dockerfile: Dockerfile
image: site_pmb:latest
expose:
- "25"
env_file: