mintopia / laravel-echo-server

Laravel Echo Server in a Docker container
5 stars 9 forks source link

Laravel Echo Server

DEPRECATED - Please check out Laravel Reverb instead.

Introduction

This is a simple docker container for the Laravel Echo Server.

Configuration

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.

Environment Variables

The variables you can modify are:

Running with SSL

The server supports either HTTP or HTTPS (not both simultaenously). If you want to use HTTPS, set the protocol appropriately and specify the certificate, key and any chain certificate using environment variables.

API Access

There is a simple HTTP API built in, cross-domain access can be configured using environment variables: