mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 21:26:21 +00:00
Update plasma compose to use build
This commit is contained in:
parent
84a85d673b
commit
b0231dfed2
4 changed files with 14 additions and 9 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# .env for myvnc KDE plasma webtop
|
||||
MYVNC_KDEPLASMA_VNCPASS=
|
||||
MYVNC_KDEPLASMA_PORT=
|
||||
MYVNC_KDEPLASMA_VNCPASS=
|
||||
|
||||
MYVNC_KDEPLASMA_CUSTOM_TITLE=
|
||||
MYVNC_KDEPLASMA_PROXYPATH=
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Docker build
|
||||
# Optional: buildtag
|
||||
DOCKER_BUILDKIT=1 \
|
||||
docker build . \
|
||||
--tag ${buildtag:-myvnc/webtop:plasma}
|
||||
# DOCKER_BUILDKIT=1 \
|
||||
# docker build . \
|
||||
# --tag ${buildtag:-myvnc/webtop:plasma}
|
||||
docker compose up --build --detach
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ services:
|
|||
image: myvnc/webtop:plasma
|
||||
container_name: kdeplasma
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
environment:
|
||||
MYVNC_VNCPASS: ${MYVNC_KDEPLASMA_VNCPASS}
|
||||
networks:
|
||||
|
|
@ -26,9 +28,10 @@ services:
|
|||
environment:
|
||||
MYVNC_CUSTOM_TITLE: ${MYVNC_KDEPLASMA_CUSTOM_TITLE}
|
||||
MYVNC_PROXYPATH: ${MYVNC_KDEPLASMA_PROXYPATH}
|
||||
MYVNC_VNCSHARING: false
|
||||
|
||||
MYVNC_VNCLISTEN_HOST: kdeplasma
|
||||
MYVNC_VNCLISTEN_PORT: 5900
|
||||
MYVNC_VNCSHARING: false
|
||||
networks:
|
||||
- kdeplasma
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Create required home directories
|
||||
[ -d ~/.vnc ] || mkdir -p ~/.vnc
|
||||
[ -d ~/.ssh ] || mkdir -p ~/.ssh
|
||||
[ -d ~/.config ] || mkdir -p ~/.config
|
||||
|
||||
# Check for MYVNC_VNCPASS variable
|
||||
|
|
@ -39,7 +40,6 @@ fi
|
|||
# VNC config
|
||||
cat >~/.vnc/config <<- vncconfig
|
||||
session=plasmax11
|
||||
dpi=192
|
||||
geometry=1920x1080
|
||||
framerate=60
|
||||
depth=32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue