Move all NoVNC instances to alpine image

This commit is contained in:
Myve 2025-01-21 01:25:25 +00:00
commit 7f0d398fbb
274 changed files with 349 additions and 50367 deletions

View file

@ -33,9 +33,7 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
&& useradd --create-home --gid users --shell /usr/bin/bash user \
&& printf '%s\n' 'user ALL=(ALL:ALL) NOPASSWD: /usr/bin/pacman' \
'Defaults lecture = never' >/etc/sudoers.d/zz-DOCKER \
&& passwd -l root >/dev/null 2>&1 \
&& mkdir -p /app/nginx /app/logs \
&& chown -R user:users /app
&& passwd -l root >/dev/null 2>&1
# Default environment
USER ${debug:-user}

View file

@ -3,6 +3,10 @@ services:
image: myvnc/arch/plasma
container_name: kdeplasma
restart: unless-stopped
# build: .
# shm_size: 2gb
# security_opt:
# - seccomp:unconfined
environment:
MYVNC_VNCPASS: ${MYVNC_KDEPLASMA_VNCPASS}
networks:
@ -20,7 +24,6 @@ services:
image: myvnc/alpine/base
container_name: kdeplasma-novnc
restart: unless-stopped
# shm_size: 2gb
ports:
- ${MYVNC_KDEPLASMA_PORT}:6900
environment:

View file

@ -36,7 +36,7 @@ unset MYVNC_VNCPASS
# VNC xstartup
install /dev/stdin ~/.config/tigervnc/xstartup <<- xstartup
#!/usr/bin/env bash
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec ${STARTXBIN}
@ -68,5 +68,8 @@ LockOnResume=false
Timeout=0
kscreenlockerrc
# Read cli parameters, if any
exec "${@}" &
# Launch Tigervnc
/usr/bin/dbus-launch vncserver :0