Skip to content

Commit 68260b2

Browse files
committed
add env variables to fast-api.yml
1 parent fa8839d commit 68260b2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/fast-api.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ jobs:
3838
3939
- name: Start FastAPI to verify it boots
4040
working-directory: backend
41+
env:
42+
POSTGRES_USER: inquiro
43+
POSTGRES_PASSWORD: inquiro
44+
POSTGRES_DB: inquiro_db
45+
POSTGRES_HOST: localhost
46+
POSTGRES_PORT: "5433"
47+
JWT_SECRET_KEY: "3e3cc0b2f8b54b3d6aa597faccb2f9c41b19b1c24befe29661bafbd42e3afe3e"
48+
DATABASE_URL: "postgresql://inquiro:inquiro@localhost:5433/inquiro_db"
4149
run: |
4250
uvicorn app.main:app --host 0.0.0.0 --port 8000 &
4351
PID=$!

0 commit comments

Comments
 (0)