Starbix / docker-synclounge

🐳 Dockerfile for SyncLounge
https://synclounge.tv
MIT License
19 stars 5 forks source link
docker dockerfile nodejs plex sync

docker-synclounge

🐳 Dockerfile for SyncLounge

Docker Pulls

The following tags are available:

docker run \
  --name=SyncLounge \
    -p 8088:8088 \
    -p 8089:8089 \
  -e DOMAIN=example.com \
  starbix/synclounge
docker run \
  --name=SyncLounge_nginx \
    -p 80:80 \
  -e DOMAIN=example.com \
  starbix/synclounge:nginx

To run both the SyncLounge webapp and the SyncLounge server through a web server like nginx you will need to make sure you proxy websockets. Example nginx.conf:

 server {
     listen 80;
    server_name example.com;
    root /location/of/synclounge/;
    location /slweb {
        proxy_pass http://localhost:8088/slweb;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }       
    location /slserver {
        proxy_pass http://localhost:8089/slserver;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }       
    location / {
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_pass http://localhost:8088/slweb;
    }
 }

Maintainers

@Starbix

Contribute

PRs accepted.

License

MIT © 2019 Cédric Laubacher