[ALL] Changes for GUI podman quadlet

This commit is contained in:
j1nx 2023-11-04 10:52:58 +00:00
parent 62be539de1
commit 8c5e0a3652
3 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,7 @@ After=ovos_gui_websocker.service
[Container]
ContainerName=ovos_gui
Image=docker.io/smartgic/ovos-gui:alpha
Image=docker.io/smartgic/ovos-gui-shell:alpha
AutoUpdate=registry
LogDriver=journald
HostName=ovos_gui
@ -22,6 +22,7 @@ Network=host
Timezone=local
UserNS=keep-id:uid=%U,gid=%G
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
Environment=DISPLAY=:0
Environment=XDG_RUNTIME_DIR=%t
Environment=QT_QPA_PLATFORM=eglfs
Environment=QT_QPA_EGLFS_KMS_ATOMIC=1
@ -41,6 +42,7 @@ Volume=/dev/shm:/tmp
Volume=%t/pipewire-0:/run/user/1000/pipewire-0:ro
Volume=%t/bus:/run/user/1000/bus:ro
Volume=%h/ovos/share:/home/ovos/.local/share/mycroft
Volume=ovos_gui_files:/home/ovos/.cache/gui_files
[Service]
TimeoutStartSec=900

View File

@ -0,0 +1,4 @@
[Volume]
User=ovos
Group=ovos
Label=name=ovos_gui_files

View File

@ -17,6 +17,7 @@ Timezone=local
UserNS=keep-id:uid=%U,gid=%G
Volume=%h/ovos/config:/home/ovos/.config/mycroft:ro
Volume=/dev/shm:/tmp
Volume=ovos_gui_files:/home/ovos/.cache/ovos_gui_file_server
[Service]
TimeoutStartSec=900