File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 2
2
from dotenv import load_dotenv
3
3
from urllib import parse
4
4
load_dotenv ()
5
- """
6
- class Development(object):
7
- DEBUG = True
8
- TESTING = False
9
- SECRET_KEY = os.environ.get("SECRET_KEY") or "you-will-never-guess"
10
- SQLALCHEMY_DATABASE_URI = f"postgresql://{os.environ.get('POSTGRESQL_USER')}:{os.environ.get('POSTGRESQL_PASSWORD')}@svc-postgresql/library"
11
- JWT_SECRET_KEY = os.getenv("JWT_SECRET_KEY")
12
- OIDC_CLIENT_SECRETS = "manifests/oidc-secret.json"
13
-
14
- class Production(object):
15
- DEBUG = False
16
- TESTING = False
17
- SQLALCHEMY_DATABASE_URI = f"postgresql://{os.environ.get('POSTGRESQL_USER')}:{os.environ.get('POSTGRESQL_PASSWORD')}@svc-postgresql/library"
18
- JWT_SECRET_KEY = os.getenv("JWT_SECRET_KEY")
19
- OIDC_CLIENT_SECRETS = "manifests/oidc-secret.json"
20
-
21
- app_config = {
22
- "development": Development,
23
- "production": Production,
24
- }
25
- """
26
5
class Config :
27
6
DEBUG = False
28
7
TESTING = False
You can’t perform that action at this time.
0 commit comments