Skip to content

Instantly share code, notes, and snippets.

@tpharaoh
Created June 1, 2020 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tpharaoh/41e492d639407adeb60e154054437754 to your computer and use it in GitHub Desktop.
Save tpharaoh/41e492d639407adeb60e154054437754 to your computer and use it in GitHub Desktop.
my base docker
version: '3'
services:
database:
image: postgres:11-alpine
environment:
POSTGRES_USER: test
POSTGRES_PASSWORD: test
POSTGRESDB: test
ports: [5432:5432]
mercure:
container_name: mercure
image: dunglas/mercure
environment:
- JWT_KEY=password
- DEMO=1
- ALLOW_ANONYMOUS=0
- PUBLISH_ALLOWED_ORIGINS=http://127.0.0.1:9090/hub
- DEBUG=1
- CORS_ALLOWED_ORIGINS=*
ports:
- "9090:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment