Laravel echo server image for Docker
GPL-3.0 License
It's a docker image for the Laravel Echo Server
docker pull docker.pkg.github.com/hatamiarash7/docker-laravel-echo-server/laravel-echo-server:1.1
The container is configured to want to use Redis by default. Most configuration can be changed by setting the appropriate environment variables.
If you want a more complex config, you can mount it into the container to /opt/laravel-echo-server/laravel-echo-server.json
LARAVEL_ECHO_SERVER_AUTH_HOST
- Host of the server that authenticates private and presence channelsLARAVEL_ECHO_SERVER_HOST
- Host of the serverLARAVEL_ECHO_SERVER_PORT
- Port for the serverLARAVEL_ECHO_SERVER_DEBUG
- Debug modeECHO_CLIENTS
- JSON representing the clients for the serverECHO_DEVMODE
- Same as debug modeThe server supports either HTTP or HTTPS. If you want to use HTTPS, set the protocol appropriately and specify the certificate, key and any chain certificate using environment variables.
ECHO_PROTOCOL
- http
or https
depending on what you want to useECHO_SSL_CERT_PATH
- Path to an SSL certificate if using HTTPSECHO_SSL_KEY_PATH
- Path to the private key for the SSL certificateECHO_SSL_CHAIN_PATH
- Path to a chain certificate fileECHO_SSL_PASSPHRASE
- The passphrase for the private key if requiredThere is a simple HTTP API built in, cross-domain access can be configured using environment variables :
ECHO_ALLOW_CORS
- true
or false
if you want to allow CORS or notECHO_ALLOW_ORIGIN
- The allowed origin for cross-domain commsECHO_ALLOW_METHODS
- HTTP methods that are allowed cross-domainECHO_ALLOW_HEADERS
- The headers that will be accepted with CORSgit checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Each project may have many problems. Contributing to the better development of this project by reporting them.