Fix makefile so that JWT_SECRET is saved for docker-up and docker-down targets

This commit is contained in:
2026-06-01 12:07:10 -06:00
parent cdc2958383
commit 61dfbc88b9
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ docker-run: build-jar
docker run --rm --name notesvault-api -p 8080:8080 -e JWT_SECRET="$(JWT_SECRET)" notesvault:latest
docker-up:
docker compose up -d
JWT_SECRET="$(JWT_SECRET)" docker compose up -d
docker-down:
docker compose down
JWT_SECRET="$(JWT_SECRET)" docker compose down