Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevoree/kevoree-docker-websocket-cdn
A docker container of a websocket CDN backed by a mongo database
https://github.com/kevoree/kevoree-docker-websocket-cdn
Last synced: about 1 month ago
JSON representation
A docker container of a websocket CDN backed by a mongo database
- Host: GitHub
- URL: https://github.com/kevoree/kevoree-docker-websocket-cdn
- Owner: kevoree
- License: lgpl-3.0
- Created: 2016-01-05T09:56:07.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-05T13:10:19.000Z (almost 9 years ago)
- Last Synced: 2024-04-17T09:24:40.558Z (9 months ago)
- Language: Java
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kevoree-docker-websocket-cdn
A docker container of a websocket CDN backed by a mongo database## Build
```bash
$ mvn clean install docker:build
```The generated docker image is named **docker-kevoree-gateway** in your local repository.
## Running
A Docker Compose confirguration file is available at the root of the projected.
It can be started using```bash
$ docker-compose up
Starting kevoreedockerwebsocketcdn_mongo_1
Starting kevoreedockerwebsocketcdn_gateaway_1
$ docker-compose ps
Name Command State Ports
-------------------------------------------------------------------------------------------------------
kevoreedockerwebsocketcdn_gateaway_1 java -jar /docker-kevoree- ... Up 0.0.0.0:32775->8888/tcp
kevoreedockerwebsocketcdn_mongo_1 /entrypoint.sh mongod Up 27017/tcp
```Here the cdn is now available at http://127.0.0.1:32775/ where **32775** is a port number choose at runtime by Docker Engine.