File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ SQL_TEST_DB=testdb
6
6
SQL_HOST = db
7
7
SQL_USER = user
8
8
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}
10
10
11
11
# Postgres
12
12
POSTGRES_SERVER = db
Original file line number Diff line number Diff line change 23
23
SQL_USER : app-user
24
24
POSTGRES_PASSWORD : secret
25
25
PGPASSWORD : secret
26
- SQL_URL : postgresql+asyncpg://app-user:secret@localhost:5432/testdb
26
+ # SQL_URL: postgresql+asyncpg://app-user:secret@localhost:5432/testdb
27
27
REDIS_HOST : 127.0.0.1
28
28
REDIS_PORT : 6379
29
29
REDIS_DB : 2
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ class Settings(BaseSettings):
11
11
env_ignore_empty = True ,
12
12
extra = "ignore"
13
13
)
14
- # asyncpg_url: PostgresDsn = os.getenv("SQL_URL")
15
14
redis_url : RedisDsn = os .getenv ("REDIS_URL" )
16
15
jwt_algorithm : str = os .getenv ("JWT_ALGORITHM" )
17
16
jwt_expire : int = os .getenv ("JWT_EXPIRE" )
You can’t perform that action at this time.
0 commit comments