mercure
This commit is contained in:
parent
77d5a7be8b
commit
1f6c214747
@ -192,6 +192,7 @@ That's it! enjoy :)
|
|||||||
- PostGIS *(Database extender for PostgreSQL. It adds support for geographic objects allowing location queries to be run in SQL)*
|
- PostGIS *(Database extender for PostgreSQL. It adds support for geographic objects allowing location queries to be run in SQL)*
|
||||||
- Blackfire *(Empowers all PHP developers and IT/Ops to continuously verify and improve their app's performance)*
|
- Blackfire *(Empowers all PHP developers and IT/Ops to continuously verify and improve their app's performance)*
|
||||||
- Laravel Echo *(Bring the power of WebSockets to your Laravel applications)*
|
- Laravel Echo *(Bring the power of WebSockets to your Laravel applications)*
|
||||||
|
- Mercure *(Server-sent events)*
|
||||||
- Phalcon *(A PHP web framework based on the model–view–controller pattern)*
|
- Phalcon *(A PHP web framework based on the model–view–controller pattern)*
|
||||||
- Minio *(Cloud storage server released under Apache License v2, compatible with Amazon S3)*
|
- Minio *(Cloud storage server released under Apache License v2, compatible with Amazon S3)*
|
||||||
- AWS EB CLI *(CLI that helps you deploy and manage your AWS Elastic Beanstalk applications and environments)*
|
- AWS EB CLI *(CLI that helps you deploy and manage your AWS Elastic Beanstalk applications and environments)*
|
||||||
|
@ -744,6 +744,24 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
|
### Mercure #############################################
|
||||||
|
mercure:
|
||||||
|
build: ./mercure
|
||||||
|
ports:
|
||||||
|
- "${MERCURE_NODE_HOST_HTTP_PORT}:80"
|
||||||
|
- "${MERCURE_NODE_HOST_HTTPS_PORT}:443"
|
||||||
|
privileged: true
|
||||||
|
environment:
|
||||||
|
- MERCURE_PUBLISHER_JWT_KEY=${MERCURE_PUBLISHER_JWT_KEY}
|
||||||
|
- MERCURE_SUBSCRIBER_JWT_KEY=${MERCURE_SUBSCRIBER_JWT_KEY}
|
||||||
|
- DEBUG=${MERCURE_DEBUG}
|
||||||
|
- SERVER_NAME=${MERCURE_SERVER_NAME}
|
||||||
|
- MERCURE_EXTRA_DIRECTIVES=cors_allowed_origins *\npublish_allowed_origins http://localhost:${MERCURE_NODE_HOST_HTTP_PORT} https://localhost:${MERCURE_NODE_HOST_HTTP_PORT}
|
||||||
|
hostname: laradock-mercure
|
||||||
|
networks:
|
||||||
|
- frontend
|
||||||
|
- backend
|
||||||
|
|
||||||
### Cassandra ############################################
|
### Cassandra ############################################
|
||||||
cassandra:
|
cassandra:
|
||||||
build: ./cassandra
|
build: ./cassandra
|
||||||
|
@ -414,6 +414,15 @@ RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT=15671
|
|||||||
RABBITMQ_DEFAULT_USER=guest
|
RABBITMQ_DEFAULT_USER=guest
|
||||||
RABBITMQ_DEFAULT_PASS=guest
|
RABBITMQ_DEFAULT_PASS=guest
|
||||||
|
|
||||||
|
### MERCURE ##############################################
|
||||||
|
|
||||||
|
MERCURE_NODE_HOST_HTTP_PORT=1337
|
||||||
|
MERCURE_NODE_HOST_HTTPS_PORT=1338
|
||||||
|
MERCURE_PUBLISHER_JWT_KEY=secret
|
||||||
|
MERCURE_SUBSCRIBER_JWT_KEY=another_secret
|
||||||
|
MERCURE_DEBUG=debug
|
||||||
|
MERCURE_SERVER_NAME=:80
|
||||||
|
|
||||||
### MEILISEARCH ###########################################
|
### MEILISEARCH ###########################################
|
||||||
|
|
||||||
MEILISEARCH_HOST_PORT=7700
|
MEILISEARCH_HOST_PORT=7700
|
||||||
|
5
mercure/Dockerfile
Normal file
5
mercure/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM dunglas/mercure
|
||||||
|
|
||||||
|
LABEL maintainer="Kévin Dunglas <kevin@dunglas.fr>"
|
||||||
|
|
||||||
|
EXPOSE 80 443
|
Loading…
Reference in New Issue
Block a user