screego / server

screen sharing for developers https://screego.net/
https://app.screego.net
GNU General Public License v3.0
7.6k stars 549 forks source link

docker config and mediaDevices undefined? #187

Closed fightersabo closed 1 month ago

fightersabo commented 1 month ago

hi i have two problems docker config and Could not start presentation. (mediaDevices undefined) Are you using https?

jmattheis commented 1 month ago

Are you using https? See also https://screego.net/#/faq?id=stream-doesnt-load

fightersabo commented 1 month ago

no im using http 2024-07-20_225153

jmattheis commented 1 month ago

Screego requires https.

fightersabo commented 1 month ago

how can i run https via docker

jmattheis commented 1 month ago

Either configure a reverse proxy with tls or set these config values:

# If TLS should be enabled for HTTP requests. Screego requires TLS,
# you either have to enable this setting or serve TLS via a reverse proxy.
SCREEGO_SERVER_TLS=false
# The TLS cert file (only needed if TLS is enabled)
SCREEGO_TLS_CERT_FILE=
# The TLS key file (only needed if TLS is enabled)
SCREEGO_TLS_KEY_FILE=

https://screego.net/#/config

fightersabo commented 1 month ago

i have no idea can your crate guide line/

jmattheis commented 1 month ago

You could use traefik: https://doc.traefik.io/traefik/user-guides/docker-compose/acme-tls/ or create a self signed certificate and configure it in traefik. There already should be a lot of guides about this on the internet as almost every web application needs this.