secretize jwt secret
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 9s

This commit is contained in:
2026-03-20 20:52:59 -05:00
parent a343c2e246
commit 7229e369ae
2 changed files with 2 additions and 1 deletions

View File

@@ -39,5 +39,6 @@ jobs:
- name: Deploy container
run: |
export POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}
export JWT_SECRET=${{ secrets.JWT_SECRET }}
docker compose -f ./api/docker-compose.prod.yaml pull agologum-api
docker compose -f ./api/docker-compose.prod.yaml up -d --force-recreate agologum-api

View File

@@ -11,7 +11,7 @@
"AllowedHosts": "*",
"https_port": 443,
"Jwt": {
"Key": "local_secret_but_longer_this_time_so_it_actually_works",
"Key": "${JWT_SECRET}",
"Issuer": "agologum-api",
"Audience": "agologum-users"
}