From 2510266af1c5d064c3ead695f71058edb621f24e Mon Sep 17 00:00:00 2001 From: James Spurin Date: Thu, 24 Dec 2020 13:25:14 +0000 Subject: [PATCH] Update docker-compose.yml Sourced value is ECHO_REDIS_HOSTNAME, rather than ECHO_REDIS_HOST - ``` # cat laravel-echo-server.example.json { "authHost": "http://localhost", "authEndpoint": "/broadcasting/auth", "clients": {{ ECHO_CLIENTS }}, "database": "redis", "databaseConfig": { "redis": { "port": "{{ ECHO_REDIS_PORT }}", "host": "{{ ECHO_REDIS_HOSTNAME }}" } }, "devMode": "{{ ECHO_DEVMODE }}", "host": null, "port": "6001", "protocol": "{{ ECHO_PROTOCOL }}", "socketio": {}, "sslCertPath": "{{ ECHO_SSL_CERT_PATH }}", "sslKeyPath": "{{ ECHO_SSL_KEY_PATH }}", "sslCertChainPath": "{{ ECHO_SSL_CHAIN_PATH }}", "sslPassphrase": "{{ ECHO_SSL_PASSPHRASE }}", "apiOriginAllow": { "allowCors": {{ ECHO_ALLOW_CORS }}, "allowOrigin": "{{ ECHO_ALLOW_ORIGIN }}", "allowMethods": "{{ ECHO_ALLOW_METHODS }}", "allowHeaders": "{{ ECHO_ALLOW_HEADERS }}" } ``` --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e299ac4..d2f1ec9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: - LARAVEL_ECHO_SERVER_HOST=0.0.0.0 - LARAVEL_ECHO_SERVER_PORT=6001 - ECHO_REDIS_PORT=6379 - - ECHO_REDIS_HOST=redis + - ECHO_REDIS_HOSTNAME=redis - ECHO_PROTOCOL=http - ECHO_ALLOW_CORS=true - ECHO_ALLOW_ORIGIN=*