Feature/Auth: implement user authentication #3

Merged
homeburger merged 48 commits from feature/auth into main 2026-03-22 20:52:22 -05:00
3 changed files with 3 additions and 2 deletions
Showing only changes of commit 9fea2c5b7b - Show all commits

View File

@@ -39,6 +39,5 @@ 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": "${JWT_SECRET}",
"Key": "",
"Issuer": "agologum-api",
"Audience": "agologum-users"
}

View File

@@ -12,6 +12,8 @@ services:
- "5000:5000"
networks:
- agologum-net
environment:
- Jwt__Key=${JWT_SECRET} # this seems to be the right way to pass env variables with secrets
networks:
agologum-net: