Skip to content

Commit

Permalink
drop SQL_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
grillazz committed Mar 24, 2024
1 parent b50b3c9 commit 053fbe0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SQL_TEST_DB=testdb
SQL_HOST=db
SQL_USER=user
SQL_PASS=secret
SQL_URL=postgresql+asyncpg://${SQL_USER}:${SQL_PASS}@${SQL_HOST}/${SQL_DB}
#SQL_URL=postgresql+asyncpg://${SQL_USER}:${SQL_PASS}@${SQL_HOST}/${SQL_DB}

# Postgres
POSTGRES_SERVER=db
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
SQL_USER: app-user
POSTGRES_PASSWORD: secret
PGPASSWORD: secret
SQL_URL: postgresql+asyncpg://app-user:secret@localhost:5432/testdb
# SQL_URL: postgresql+asyncpg://app-user:secret@localhost:5432/testdb
REDIS_HOST: 127.0.0.1
REDIS_PORT: 6379
REDIS_DB: 2
Expand Down
1 change: 0 additions & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class Settings(BaseSettings):
env_ignore_empty=True,
extra="ignore"
)
# asyncpg_url: PostgresDsn = os.getenv("SQL_URL")
redis_url: RedisDsn = os.getenv("REDIS_URL")
jwt_algorithm: str = os.getenv("JWT_ALGORITHM")
jwt_expire: int = os.getenv("JWT_EXPIRE")
Expand Down

0 comments on commit 053fbe0

Please sign in to comment.