Skip to content

Instantly share code, notes, and snippets.

@decima
Last active February 28, 2024 12:43
Show Gist options
  • Save decima/3808a0f0cac13014c92978113e361c7d to your computer and use it in GitHub Desktop.
Save decima/3808a0f0cac13014c92978113e361c7d to your computer and use it in GitHub Desktop.
Mercure simple development environment with docker
version: "3.7"
services:
mercure:
image: dunglas/mercure
environment:
MERCURE_PUBLISHER_JWT_KEY: 'changeme'
MERCURE_SUBSCRIBER_JWT_KEY: 'changeme'
SERVER_NAME: ":80"
MERCURE_EXTRA_DIRECTIVES: |-
cors_origins "http://127.0.0.1:8000"
anonymous
ports:
- 8001:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment