Skip to content

What you need to deploy mercure hub to your PaaS Dokku

Notifications You must be signed in to change notification settings

headsnet/dokku-mercure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Deploy your Mercure Hub to Dokku


In my case, I deployed Mercure on Dokku using Dockerfile

  1. Create a new application on Dokku dokku apps:create <app-name>
  2. Config your environment variables dokku config:set <app-name> MERCURE_PUBLISHER_JWT_KEY=your_key MERCURE_SUBSCRIBER_JWT_KEY=your_key ALLOW_ANONYMOUS=1 CORS_ALLOWED_ORIGINS=* PUBLISH_ALLOWED_ORIGINS=your_origins
  3. Once the environment variables are set. Deploy and let Dokku do his magic, go to your directory and Deploy git push dokku master.

PS: don't forget to init your git repo and add Dokku as a remote to name the app, on your local machine.

About

What you need to deploy mercure hub to your PaaS Dokku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%