🐳 Dockerfile for SyncLounge
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
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;
}
}
PRs accepted.
MIT © 2019 Cédric Laubacher