mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
add screego
This commit is contained in:
parent
ec60b138bc
commit
cd2ba7c251
@ -469,6 +469,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] selenoid-ui
|
- [x] selenoid-ui
|
||||||
- [x] semaphoreui/semaphore
|
- [x] semaphoreui/semaphore
|
||||||
- [x] sentry
|
- [x] sentry
|
||||||
|
- [x] screego/server
|
||||||
- [x] atmoz/sftp
|
- [x] atmoz/sftp
|
||||||
- [x] quay.io/outline/shadowbox
|
- [x] quay.io/outline/shadowbox
|
||||||
- [x] shlinkio/shlink
|
- [x] shlinkio/shlink
|
||||||
|
@ -9,4 +9,5 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- GOTIFY_DEFAULTUSER_NAME=admin
|
- GOTIFY_DEFAULTUSER_NAME=admin
|
||||||
- GOTIFY_DEFAULTUSER_PASS=secret
|
- GOTIFY_DEFAULTUSER_PASS=secret
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
6
screego/README.md
Normal file
6
screego/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
screego
|
||||||
|
=======
|
||||||
|
|
||||||
|
[Screego][1] allows you to share your screen with good quality and low latency.
|
||||||
|
|
||||||
|
[1]: https://screego.net/
|
19
screego/docker-compose.yml
Normal file
19
screego/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# See: https://screego.net/#/config
|
||||||
|
#
|
||||||
|
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
screego:
|
||||||
|
image: screego/server:1.10.2
|
||||||
|
ports:
|
||||||
|
- "5050:5050"
|
||||||
|
- "3478:3478"
|
||||||
|
- "50000-50200:50000-50200/udp"
|
||||||
|
environment:
|
||||||
|
- SCREEGO_EXTERNAL_IP=192.168.178.2
|
||||||
|
- SCREEGO_SECRET=b8a8e200-0560-4cd5-bf10-d5426bc5e8e3
|
||||||
|
- SCREEGO_SERVER_ADDRESS=0.0.0.0:5050
|
||||||
|
- SCREEGO_TURN_ADDRESS=0.0.0.0:3478
|
||||||
|
- SCREEGO_TURN_PORT_RANGE=50000:50200
|
||||||
|
restart: unless-stopped
|
36
screego/nginx.conf
Normal file
36
screego/nginx.conf
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#
|
||||||
|
# See: https://screego.net/#/proxy
|
||||||
|
#
|
||||||
|
|
||||||
|
upstream screego {
|
||||||
|
# Set this to the address configured in
|
||||||
|
# SCREEGO_SERVER_ADDRESS. Default 5050
|
||||||
|
server 127.0.0.1:5050;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
|
||||||
|
# Here goes your domain / subdomain
|
||||||
|
server_name screego.example.com;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
# Proxy to screego
|
||||||
|
proxy_pass http://screego;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
|
# Set headers for proxying WebSocket
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
proxy_redirect http:// $scheme://;
|
||||||
|
|
||||||
|
# Set proxy headers
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto http;
|
||||||
|
|
||||||
|
# The proxy must preserve the host because screego verifies it with the origin
|
||||||
|
# for WebSocket connections
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user