change the port so its easier to serialize
This commit is contained in:
parent
2a2f343d4a
commit
904cba3af6
3 changed files with 3 additions and 3 deletions
|
@ -16,5 +16,5 @@ RUN git clone https://github.com/novnc/websockify websocketify
|
||||||
ADD mozilla .mozilla
|
ADD mozilla .mozilla
|
||||||
ADD spice-html5 spice-html5
|
ADD spice-html5 spice-html5
|
||||||
RUN chown -R bnuuy:bnuuy .mozilla spice-html5 websocketify /tmp/audio_fifo
|
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"]
|
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]
|
||||||
|
|
|
@ -22,7 +22,7 @@ docker build -t xfnw/bnuuy .
|
||||||
## running it
|
## running it
|
||||||
this is just an example, you probably want different flags for your usecase
|
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
|
in this example, you can point your web browser to 5959 or a spice client to 5900
|
||||||
|
|
|
@ -9,7 +9,7 @@ autorestart=true
|
||||||
priority=200
|
priority=200
|
||||||
|
|
||||||
[program:websocketify]
|
[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
|
user=bnuuy
|
||||||
autorestart=true
|
autorestart=true
|
||||||
priority=200
|
priority=200
|
||||||
|
|
Loading…
Reference in a new issue