diff --git a/Dockerfile b/Dockerfile index 2f720a3..8d4670b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,5 @@ RUN git clone https://github.com/novnc/websockify websocketify ADD mozilla .mozilla ADD spice-html5 spice-html5 RUN chown -R bnuuy:bnuuy .mozilla spice-html5 websocketify /tmp/audio_fifo -EXPOSE 5900 5959 +EXPOSE 5900 5800 CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"] diff --git a/README.md b/README.md index bcdd729..0293df4 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ docker build -t xfnw/bnuuy . ## running it this is just an example, you probably want different flags for your usecase ``` -docker run -p 5900:5900 -p 5959:5959 -it xfnw/bnuuy +docker run -p 5900:5900 -p 5800:5800 -it xfnw/bnuuy ``` in this example, you can point your web browser to 5959 or a spice client to 5900 diff --git a/etc/supervisord.conf b/etc/supervisord.conf index aeab929..e547812 100644 --- a/etc/supervisord.conf +++ b/etc/supervisord.conf @@ -9,7 +9,7 @@ autorestart=true priority=200 [program:websocketify] -command=/home/bnuuy/websocketify/run --web ../spice-html5 :5959 localhost:5900 +command=/home/bnuuy/websocketify/run --web ../spice-html5 :5800 localhost:5900 user=bnuuy autorestart=true priority=200