Create .env
file in root with
JWT_SECRET="a random string (i use a uuid)"
VAPID_CONTACT="mailto:youremail"
VAPID_PRIVATE_KEY="generate keys with"
VAPID_PUBLIC_KEY="npx web-push generate-vapid-keys"
Compile schema with npx prisma generate
Create database file with npx prisma --experimental migrate up
Customize the volume path in docker-compose.yml
npm run watch:server
npm run watch:client
npm start
docker-compose build && docker-compose up -d