Deploy Notify with docker

July 31, 2023 ยท View on GitHub

docker run -p 8787:8787 -e VAPID_KEY= -e SUB=mailto:admin@admin.com -e SENDKEY=mypassword k0in/notify

Environment variables

NameDescriptionDefault
PORTPort to listen8787
VAPID_KEYVapid key for the app, see generateundefined
SUBAdmin email in format "mailto:aa@bbb.ccc"undefined
CORSEnable cors, if your frontend is served on a different domainfalse
FRONTENDPath of the frontend filesstatic-site
SENDKEYKey to send notificationsundefined
LOGINKEYKey to login to the uiundefined

Generate vapid key

deno run -A --unstable --import-map https://raw.githubusercontent.com/K0IN/Notify/deno-port/app/backend/deno.json https://raw.githubusercontent.com/K0IN/Notify/deno-port/app/backend/main.ts generate