Skip to content

Commit

Permalink
Update Kubernetes configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd committed Jun 27, 2024
1 parent 7822dbf commit c2de40e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ logout=false\n\
[General]\n\
BrowserApplication=firefox.desktop" > /etc/xdg/kdeglobals

# Wine, Winetricks, Lutris, and PlayOnLinux, this process must be consistent with https://wiki.winehq.org/Ubuntu
# Wine, Winetricks, and launchers, this process must be consistent with https://wiki.winehq.org/Ubuntu
ARG WINE_BRANCH=staging
RUN if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
mkdir -pm755 /etc/apt/keyrings && curl -fsSL -o /etc/apt/keyrings/winehq-archive.key "https://dl.winehq.org/wine-builds/winehq.key" && \
Expand Down
28 changes: 19 additions & 9 deletions egl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
# hostNetwork: true
containers:
- name: egl
# Change tag `latest` to Ubuntu version such as `24.04`
image: ghcr.io/selkies-project/nvidia-egl-desktop:latest
env:
- name: TZ
Expand All @@ -35,7 +36,7 @@ spec:
value: "96"
- name: DISPLAY_CDEPTH
value: "24"
# Keep to default unless you know what you are doing with VirtualGL, `VGL_DISPLAY` should be set to either `egl[n]`, or `/dev/dri/card[n]` only when the device was passed to the container
# Keep to default unless you know what you are doing with VirtualGL, `VGL_DISPLAY` should be set to either `egl[n]` or `/dev/dri/card[n]` only when the device was passed to the container
# - name: VGL_DISPLAY
# value: "egl"
# Choose either `value:` or `secretKeyRef:` but not both at the same time
Expand All @@ -46,32 +47,38 @@ spec:
# name: my-pass
# key: my-pass
# Uncomment to enable KasmVNC instead of Selkies-GStreamer, `SELKIES_BASIC_AUTH_PASSWORD` is used for authentication with KasmVNC, defaulting to `PASSWD` if not provided
# Uses: `SELKIES_ENABLE_BASIC_AUTH`, `SELKIES_BASIC_AUTH_USER`, `SELKIES_BASIC_AUTH_PASSWORD`, `SELKIES_ENABLE_RESIZE`, `SELKIES_ENABLE_HTTPS`, `SELKIES_HTTPS_CERT`, `SELKIES_HTTPS_KEY`
# - name: KASMVNC_ENABLE
# value: "true"
###
# Selkies-GStreamer parameters, for additional configurations see `selkies-gstreamer --help`
###
# Change `SELKIES_ENCODER` to `x264enc`, `vp8enc`, or `vp9enc` if you are using software fallback without allocated GPUs or your GPU doesn't support `H.264 (AVCHD)` under the `NVENC - Encoding` section in https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new
# Change `SELKIES_ENCODER` to `x264enc`, `vp8enc`, or `vp9enc` if using software fallback without allocated GPUs or your GPU does not support `H.264 (AVCHD)` under the `NVENC - Encoding` section in https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new
- name: SELKIES_ENCODER
value: "nvh264enc"
- name: SELKIES_ENABLE_RESIZE
value: "false"
# Enable if network conditions rapidly fluctuate
# - name: SELKIES_CONGESTION_CONTROL
# value: "false"
# Enable basic authentication with the web interface
- name: SELKIES_ENABLE_BASIC_AUTH
value: "true"
- name: SELKIES_ENABLE_HTTPS_WEB
value: "false"
# Volume mount trusted HTTPS certificate to new path for no web browser warnings
# - name: SELKIES_HTTPS_WEB_CERT
# value: /etc/ssl/certs/ssl-cert-snakeoil.pem
# - name: SELKIES_HTTPS_WEB_KEY
# value: /etc/ssl/private/ssl-cert-snakeoil.key
# Defaults to `PASSWD` if unspecified, choose either `value:` or `secretKeyRef:` but not both at the same time
# - name: SELKIES_BASIC_AUTH_PASSWORD
# value: "mypasswd"
# valueFrom:
# secretKeyRef:
# name: my-pass
# key: my-pass
# Enable HTTPS web interface from inside the container
- name: SELKIES_ENABLE_HTTPS
value: "false"
# Volume mount trusted HTTPS certificate to new path for no web browser warnings
# - name: SELKIES_HTTPS_CERT
# value: /etc/ssl/certs/ssl-cert-snakeoil.pem
# - name: SELKIES_HTTPS_KEY
# value: /etc/ssl/private/ssl-cert-snakeoil.key
###
# Uncomment below to use a TURN server for improved network compatibility
###
Expand All @@ -94,6 +101,9 @@ spec:
# secretKeyRef:
# name: turn-password
# key: turn-password
# TURN REST URI authentication, all TURN server settings above are ignored if enabled
# - name: SELKIES_TURN_REST_URI
# value: "http://localhost:8008"
# Change to `tcp` if the UDP protocol is throttled or blocked in your client network, or when the TURN server does not support UDP
# - name: SELKIES_TURN_PROTOCOL
# value: "udp"
Expand Down

0 comments on commit c2de40e

Please sign in to comment.