Skip to content

gomoob/php-websocket-server-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supported tags and respective Dockerfile links

What is php-websocket-server ?

php-websocket-server is a PHP WebSocket server based on the Ratchet server. One of the main goals of the Gomoob WebSocket server is to provide a powerful tags management system to easily choose to which clients to send messages.

How to use this image.

$ docker run --name php-websocket-server -d -p 80:80 gomoob/php-websocket-server:1.1.0

WARNING : Please note that under Windows the server will be accessible at http://192.168.99.100 in this case.

The default behavior of the server started in the container is to support the Message PHP message objects and the ApplicationsAuthManager authorization manager integrated into the php-websocker-server library. If you need to support other kind of messages and authorization parameters please read the following sub-sections.

Authorizations

By default the container is started with an auth.yml configuration file read by an ApplicationsAuthManager authorization manager component.

The default content of the auth.yml configuration file is the following.

applications:
  -
    key: application
    secret: password
    authorizeOpen: true

If you want to add additional applications you can provide your own auth.yml configuration file using a Docker volume.

$ docker run --name php-websocket-server -d -p 8080:80 -v /home/joe/auth.yml:/etc/auth.yml gomoob/php-websocket-server:1.0.3

About Gomoob

At Gomoob we build high quality software with awesome Open Source frameworks everyday. Would you like to start your next project with us? That's great! Give us a call or send us an email and we will get back to you as soon as possible !

You can contact us by email at [email protected] or by phone number ( 33) 6 85 12 81 26 or ( 33) 6 28 35 04 49.

Visit also http://gomoob.github.io to discover more Open Source softwares we develop.

About

Docker container for the gomoob/php-websocker-server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages