Skip to content

Commit 64e0aa6

Browse files
authored
Merge pull request #104 from PSNAppz/2.0
Update environment variable prefix
2 parents 11eb67e + a208d19 commit 64e0aa6

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# Social Registry Database
2-
BRIDGE_BENE_PORTAL_API_DB_USERNAME='postgres'
3-
BRIDGE_BENE_PORTAL_API_DB_PASSWORD='password'
4-
BRIDGE_BENE_PORTAL_API_DB_HOSTNAME='localhost'
5-
BRIDGE_BENE_PORTAL_API_DB_PORT='5432'
6-
BRIDGE_BENE_PORTAL_API_DB_DBNAME='bridgedb'
1+
G2P_BRIDGE_BENE_PORTAL_API_DB_USERNAME='postgres'
2+
G2P_BRIDGE_BENE_PORTAL_API_DB_PASSWORD='password'
3+
G2P_BRIDGE_BENE_PORTAL_API_DB_HOSTNAME='localhost'
4+
G2P_BRIDGE_BENE_PORTAL_API_DB_PORT='5432'
5+
G2P_BRIDGE_BENE_PORTAL_API_DB_DBNAME='bridgedb'

openg2p-g2p-bridge-bene-portal-api/src/openg2p_g2p_bridge_bene_portal_api/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66

77
class Settings(BaseSettings):
8-
model_config = SettingsConfigDict(env_prefix="bridge_bene_portal_api_", env_file=".env", extra="allow")
8+
model_config = SettingsConfigDict(
9+
env_prefix="g2p_bridge_bene_portal_api_", env_file=".env", extra="allow"
10+
)
911

1012
openapi_title: str = "OpenG2P Bridge Bene Portal API"
1113
openapi_description: str = """

0 commit comments

Comments
 (0)