Skip to content

Commit 053fbe0

Browse files
committed
drop SQL_URL
1 parent b50b3c9 commit 053fbe0

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SQL_TEST_DB=testdb
66
SQL_HOST=db
77
SQL_USER=user
88
SQL_PASS=secret
9-
SQL_URL=postgresql+asyncpg://${SQL_USER}:${SQL_PASS}@${SQL_HOST}/${SQL_DB}
9+
#SQL_URL=postgresql+asyncpg://${SQL_USER}:${SQL_PASS}@${SQL_HOST}/${SQL_DB}
1010

1111
# Postgres
1212
POSTGRES_SERVER=db

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
SQL_USER: app-user
2424
POSTGRES_PASSWORD: secret
2525
PGPASSWORD: secret
26-
SQL_URL: postgresql+asyncpg://app-user:secret@localhost:5432/testdb
26+
# SQL_URL: postgresql+asyncpg://app-user:secret@localhost:5432/testdb
2727
REDIS_HOST: 127.0.0.1
2828
REDIS_PORT: 6379
2929
REDIS_DB: 2

app/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class Settings(BaseSettings):
1111
env_ignore_empty=True,
1212
extra="ignore"
1313
)
14-
# asyncpg_url: PostgresDsn = os.getenv("SQL_URL")
1514
redis_url: RedisDsn = os.getenv("REDIS_URL")
1615
jwt_algorithm: str = os.getenv("JWT_ALGORITHM")
1716
jwt_expire: int = os.getenv("JWT_EXPIRE")

0 commit comments

Comments
 (0)