Comments (7)
Exact same issues.
For the first, instead of just removing the volumes, I changed docker-compose version (check which one is supported by your docker machine).
version: '3.8'
services:
#
# janus-gateway
#
janus-gateway:
image: 'canyan/janus-gateway:latest'
command: ["/usr/local/bin/janus", "-F", "/usr/local/etc/janus"]
ports:
- "8088:8088"
- "8089:8089"
- "8889:8889"
- "8000:8000"
- "7088:7088"
- "7089:7089"
volumes:
- "./etc/janus/janus.jcfg:/usr/local/etc/janus/janus.jcfg"
- "./etc/janus/janus.eventhandler.sampleevh.jcfg:/usr/local/etc/janus/janus.eventhandler.sampleevh.jcfg"
restart: always
For the FATAL: I solved it by copying the janus.jcfg
janus.eventhandler.sampleevh.jcfg
files from the official sample here to ./etc/janus (remove the extension .sample
)
Then edit ./etc/janus/janus.jcfg
this way:
general: {
configs_folder = "/usr/local/etc/janus" # Configuration files folder
plugins_folder = "/usr/local/lib/janus/plugins" # Plugins folder
transports_folder = "/usr/local/lib/janus/transports" # Transports folder
events_folder = "/usr/local/lib/janus/events" # Event handlers folder
loggers_folder = "/usr/local/lib/janus/loggers" # External loggers folder
Then docker-compose up -d
Worked for me ^^
from janus-gateway-docker.
@abishekrsrikaanth are you sure the following paths, relative to the current path of your docker-compose.yaml files, are files?
- etc/janus/janus.jcfg
- etc/janus/janus.eventhandler.sampleevh.jcfg
from janus-gateway-docker.
@abishekrsrikaanth are you sure the following paths, relative to the current path of your docker-compose.yaml files, are files?
- etc/janus/janus.jcfg
- etc/janus/janus.eventhandler.sampleevh.jcfg
but how to configure these jcfg files ? any docs ?
from janus-gateway-docker.
@abishekrsrikaanth are you sure the following paths, relative to the current path of your docker-compose.yaml files, are files?
- etc/janus/janus.jcfg
- etc/janus/janus.eventhandler.sampleevh.jcfg
but how to configure these jcfg files ? any docs ?
Please refer to upstream documentation, we only provide the Docker image.
For your preliminary testing, please omit the volume mounts in your docker-compose to start Janus with the default configuration.
from janus-gateway-docker.
I don't know if this helps but OCI runtime create failed
always happens for me when I update my Linux kernel and haven't restarted my machine yet.
from janus-gateway-docker.
Tried sample config files from
https://github.com/meetecho/janus-gateway/tree/master/conf
but got errors:
janus-gateway_1 | [FATAL] [janus.c:main:5115] Couldn't access plugins folder...
And remove volumes mapping seems no error, but what about next? Tried access all ports form browser but nothing.
As a beginner I just try to run and see what happen.
from janus-gateway-docker.
Exact same issues.
For the first, instead of just removing the volumes, I changed docker-compose version (check which one is supported by your docker machine).
version: '3.8' services: # # janus-gateway # janus-gateway: image: 'canyan/janus-gateway:latest' command: ["/usr/local/bin/janus", "-F", "/usr/local/etc/janus"] ports: - "8088:8088" - "8089:8089" - "8889:8889" - "8000:8000" - "7088:7088" - "7089:7089" volumes: - "./etc/janus/janus.jcfg:/usr/local/etc/janus/janus.jcfg" - "./etc/janus/janus.eventhandler.sampleevh.jcfg:/usr/local/etc/janus/janus.eventhandler.sampleevh.jcfg" restart: alwaysFor the FATAL: I solved it by copying the
janus.jcfg
janus.eventhandler.sampleevh.jcfg
files from the official sample here to ./etc/janus (remove the extension.sample
)Then edit
./etc/janus/janus.jcfg
this way:general: { configs_folder = "/usr/local/etc/janus" # Configuration files folder plugins_folder = "/usr/local/lib/janus/plugins" # Plugins folder transports_folder = "/usr/local/lib/janus/transports" # Transports folder events_folder = "/usr/local/lib/janus/events" # Event handlers folder loggers_folder = "/usr/local/lib/janus/loggers" # External loggers folder
Then
docker-compose up -d
Worked for me ^^
how to access http service , when i use your cfg file, but i can't access the janus http service, please help me ,thks
from janus-gateway-docker.
Related Issues (20)
- UDP Ports / example Janus config HOT 1
- Janus 0.10.8 server suddenly stopped with 'Connection aborted.' error.
- docker build crashing at Step 6/41 HOT 4
- ICE failed for component 1 in stream 1... HOT 6
- Debian Bullseye
- ERROR: pull access denied for janusgatewaydocker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied HOT 1
- how to make and join janus-pp-rec HOT 2
- Issue while building image. HOT 3
- libwebsockets issue with unlimitied file descriptors HOT 1
- How can I checkout to another branch of janus?
- Cannot access Janus service when using host network.
- Ubuntu ARM framework can not run this image
- Janus ignore --full-trickle=off, or -f off flags
- Exposing Janus.js
- Error running docker compose HOT 1
- 0.x legacy branch image build
- Fix Debian version mentioned in REAMDE.md
- Response time is taking more time HOT 1
- libwebsockets: Ran out of header data space HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from janus-gateway-docker.