« Moonlight web stream » : différence entre les versions
Aller à la navigation
Aller à la recherche
Page créée avec « [https://github.com/MrCreativ3001/moonlight-web-stream Source] = Installation version Docker = [https://github.com/MrCreativ3001/moonlight-web-stream/blob/master/docker/README.md Source] # mkdir /opt/moonlightwebstream # cd /opt/moonlightwebstream # vi docker-compose.yml services: moonlight-web: image: mrcreativ3001/moonlight-web-stream:latest container_name: moonlight-web restart: unless-stopped ports: - "<font color = green>8... » |
Aucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
[https://github.com/MrCreativ3001/moonlight-web-stream Source] | [https://github.com/MrCreativ3001/moonlight-web-stream Source github] | ||
= Installation version Docker = | = Installation version Docker = | ||
[https://github.com/MrCreativ3001/moonlight-web-stream/blob/master/docker/README.md Source] | [https://github.com/MrCreativ3001/moonlight-web-stream/blob/master/docker/README.md Source] | ||
Version du 22 mars 2026 à 16:14
Installation version Docker
# mkdir /opt/moonlightwebstream # cd /opt/moonlightwebstream # vi docker-compose.yml
services:
moonlight-web:
image: mrcreativ3001/moonlight-web-stream:latest
container_name: moonlight-web
restart: unless-stopped
ports:
- "8080:8080"
- "40000-40100:40000-40100/udp"
volumes:
- /opt/moonlightwebstream/server:/moonlight-web/server
# docker compose up -d
Configuration
# vi /opt/moonlightwebstream/server/config.json
Auhtentification
Au minimum renseigner les champs suivant :
...
"username": "un_utilisateur",
"credential": "un_mot_de_passe"
...
vhost
server {
listen 443 ssl http2;
server_name moonlight.tondomaine.com;
ssl_certificate /etc/letsencrypt/live/moonlight.tondomaine.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/moonlight.tondomaine.com/privkey.pem;
location /api/host/stream {
proxy_pass http://192.168.123:8080/api/host/stream;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 86400;
}
location / {
proxy_pass http://192.168.1.123:8080/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_read_timeout 86400;
}
}