Skip to content

chicongst/socket-server-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 server connect to Redis

    • Redis host: 10.10.10.2
    • Redis port: 6379

Flow

How-it-work

About

Docker-compose for Laravel Echo Server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published