mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-18 09:06:21 +00:00
Update novnc/docker-compose.yaml
This commit is contained in:
parent
565b0b2630
commit
ceb0b0da1a
1 changed files with 1 additions and 11 deletions
|
|
@ -1,27 +1,17 @@
|
||||||
services:
|
services:
|
||||||
novnc:
|
novnc:
|
||||||
image: alpine/novnc
|
image: myvnc/novnc
|
||||||
container_name: novnc
|
container_name: novnc
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
shm_size: 2gb
|
|
||||||
ports:
|
ports:
|
||||||
- ${MYVNC_NOVNC_PORT}:6900
|
- ${MYVNC_NOVNC_PORT}:6900
|
||||||
environment:
|
environment:
|
||||||
# Optional title (shows up in browser top bar)
|
|
||||||
MYVNC_CUSTOM_TITLE: ${MYVNC_CUSTOM_TITLE:-noVNC}
|
MYVNC_CUSTOM_TITLE: ${MYVNC_CUSTOM_TITLE:-noVNC}
|
||||||
|
|
||||||
# Variable is required if using a subdirectory in proxy
|
|
||||||
MYVNC_PROXYPATH: ${MYVNC_PROXYPATH:-/}
|
MYVNC_PROXYPATH: ${MYVNC_PROXYPATH:-/}
|
||||||
|
|
||||||
# Optional: Port of listening VNC server (defaults to 5900)
|
|
||||||
# An SSH tunnel will be attempted between ${MYVNC_VNCSERVER_HOST}:${MYVNC_VNCSERVER_PORT} to MYVNC_VNCSSH_PORT
|
|
||||||
MYVNC_VNCSERVER_PORT: ${MYVNC_VNCSERVER_PORT:-5900}
|
MYVNC_VNCSERVER_PORT: ${MYVNC_VNCSERVER_PORT:-5900}
|
||||||
|
|
||||||
# Required: Hostname and port of VNC server to listen to
|
|
||||||
MYVNC_VNCSSH_HOST: ${MYVNC_VNCSSH_HOST}
|
MYVNC_VNCSSH_HOST: ${MYVNC_VNCSSH_HOST}
|
||||||
MYVNC_VNCSSH_PORT: ${MYVNC_VNCSSH_PORT}
|
MYVNC_VNCSSH_PORT: ${MYVNC_VNCSSH_PORT}
|
||||||
volumes:
|
volumes:
|
||||||
# MYVNC_SSHDIR should contain the SSH private/public keys and config
|
|
||||||
- ${MYVNC_SSHDIR}:/home/user/.ssh
|
- ${MYVNC_SSHDIR}:/home/user/.ssh
|
||||||
networks:
|
networks:
|
||||||
- novnc
|
- novnc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue