This commit is contained in:
parent
4a7bd11324
commit
1fc1e2b639
@ -16,4 +16,4 @@ COPY ./src .
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:8080", "--workers", "1", "--threads", "1", "app:app"]
|
||||
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:8080", "--workers", "4", "--threads", "1", "app:app"]
|
@ -11,6 +11,7 @@ data:
|
||||
RELEASE_ID: kmlabz-k8s
|
||||
RELEASEMODE: release
|
||||
JWT_SECRET_KEY: hzukalkhsdgsbnakdjaksdghikyxbhhatzig
|
||||
REGISTER_DISABLED: "False"
|
||||
SQLALCHEMY_DATABASE_URI: postgresql://username:password@server/database?sslmode=require
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
|
@ -20,3 +20,5 @@ RELEASEMODE = os.environ.get("RELEASEMODE", "dev")
|
||||
SQLALCHEMY_DATABASE_URI = os.getenv("SQLALCHEMY_DATABASE_URI", "sqlite://")
|
||||
|
||||
JWT_SECRET_KEY = os.getenv("JWT_SECRET_KEY", str(uuid4()))
|
||||
|
||||
REGISTER_DISABLED = os.getenv("REGISTER_DISABLED", "FALSE").upper() == "TRUE"
|
||||
|
Loading…
Reference in New Issue
Block a user