Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chicongst/socket-server-docker
Docker-compose for Laravel Echo Server
https://github.com/chicongst/socket-server-docker
echo-server redis
Last synced: about 2 months ago
JSON representation
Docker-compose for Laravel Echo Server
- Host: GitHub
- URL: https://github.com/chicongst/socket-server-docker
- Owner: chicongst
- Created: 2020-12-16T04:49:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-08T03:30:18.000Z (almost 4 years ago)
- Last Synced: 2023-11-27T15:37:21.346Z (about 1 year ago)
- Topics: echo-server, redis
- Language: Dockerfile
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
## Docker Compose for Laravel Echo Server
### Preparing
```
cp .env.example .env
docker-compose build
docker-compose up
```
### Checking```
# Check docker containers are running
docker ps
# Access to container
docker exec -it [container_id] /bin/bash
```### Connecting
- Local connect to Redis
- Redis host: 10.10.10.2
- Redis port: {REDIS_PORT} in ENV
- Local connect to Echo server
- Echo host: http://localhost:{ECHO_PORT}- Echo server connect to Redis
- Redis host: 10.10.10.2
- Redis port: 6379
### Flow![How-it-work](image-work.png)