Added symfony/mercure package and a container for development

This commit is contained in:
Alejandro Celaya 2020-03-14 19:47:22 +01:00
parent e1cd4a6ee3
commit 0c9deca3f8
2 changed files with 12 additions and 0 deletions

View File

@ -57,6 +57,7 @@
"symfony/console": "^5.0",
"symfony/filesystem": "^5.0",
"symfony/lock": "^5.0",
"symfony/mercure": "^0.3.0",
"symfony/process": "^5.0"
},
"require-dev": {

View File

@ -27,6 +27,7 @@ services:
- shlink_db_maria
- shlink_db_ms
- shlink_redis
- shlink_mercure
environment:
LC_ALL: C
@ -47,6 +48,7 @@ services:
- shlink_db_maria
- shlink_db_ms
- shlink_redis
- shlink_mercure
environment:
LC_ALL: C
@ -102,3 +104,12 @@ services:
image: redis:5.0-alpine
ports:
- "6380:6379"
shlink_mercure:
container_name: shlink_mercure
image: dunglas/mercure:v0.8
ports:
- "3080:80"
environment:
CORS_ALLOWED_ORIGINS: "*"
JWT_KEY: "super_secret_key"