chg: pkg: add JWT generation script to make Mercure safe #4
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: help start start-build stop build down ps logs prune-everything db-reset
|
||||
.PHONY: help start start-build stop build down ps logs prune-everything db-reset mercure-jwt
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
@@ -38,6 +38,9 @@ prune-everything:
|
||||
fi
|
||||
docker compose down -v --rmi all --remove-orphans
|
||||
|
||||
mercure-jwt:
|
||||
@php bin/generate-mercure-jwt.php
|
||||
|
||||
db-reset:
|
||||
@echo "WARNING: This will DROP and RECREATE the database!"
|
||||
@read -p "Type 'yes' to confirm: " confirm; \
|
||||
|
||||
Reference in New Issue
Block a user