mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
update CI
This commit is contained in:
parent
d2999313d7
commit
37da4715c7
10
.github/workflows/build-and-test.yml
vendored
10
.github/workflows/build-and-test.yml
vendored
@ -25,8 +25,18 @@ jobs:
|
||||
PGPASSWORD: secret
|
||||
SQL_URL: postgresql+asyncpg://app-user:secret@localhost:5432/testdb
|
||||
FERNET_KEY: Ms1HSn513x0_4WWFBQ3hYPDGAHpKH_pIseC5WwqyO7M=
|
||||
REDIS_HOST: 127.0.0.1
|
||||
REDIS_PORT: 6379
|
||||
REDIS_DB: 2
|
||||
REDIS_URL: "redis://${REDIS_HOST}:${REDIS_PORT}/${REDIS_DB}"
|
||||
JWT_EXPIRE: 3600
|
||||
JWT_ALGORITHM: HS256
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:latest
|
||||
ports:
|
||||
- 6379:6379
|
||||
sqldb:
|
||||
image: postgres:14
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user