Skip to content

Commit

Permalink
[compose/gui] Add video group and remove DISPLAY
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 12, 2023
1 parent 0874f13 commit 940c6f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions compose/.env-raspberrypi
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ RENDER_GID=106
TMP_FOLDER=~/ovos/tmp
TZ=America/Montreal
VERSION=alpha
VIDEO_GID=44
XDG_RUNTIME_DIR=/run/user/1000
1 change: 1 addition & 0 deletions compose/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ PULL_POLICY=always
TMP_FOLDER=~/ovos/tmp
TZ=America/Montreal
VERSION=alpha
VIDEO_GID=44
XDG_RUNTIME_DIR=/run/user/1000
5 changes: 4 additions & 1 deletion compose/docker-compose.gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ services:
pull_policy: $PULL_POLICY
environment:
DBUS_SESSION_BUS_ADDRESS: unix:path=${XDG_RUNTIME_DIR}/bus
DISPLAY: :0
PULSE_SERVER: unix:${XDG_RUNTIME_DIR}/pulse/native
PULSE_COOKIE: /home/${OVOS_USER}/.config/pulse/cookie
QML2_IMPORT_PATH: /usr/lib/qml
Expand All @@ -70,6 +69,8 @@ services:
- /dev/input
- /dev/dri
- /dev/snd
group_add:
- $VIDEO_GID
volumes:
- ~/.config/pulse/cookie:/home/${OVOS_USER}/.config/pulse/cookie:ro
- ${OVOS_CONFIG_FOLDER}:/home/${OVOS_USER}/.config/mycroft:ro
Expand Down Expand Up @@ -123,6 +124,8 @@ services:
# - /dev/input
# - /dev/dri
# - /dev/snd
# group_add:
# - $VIDEO_GID
# volumes:
# - ~/.config/pulse/cookie:/home/${OVOS_USER}/.config/pulse/cookie:ro
# - ${OVOS_CONFIG_FOLDER}:/home/${OVOS_USER}/.config/mycroft:ro
Expand Down

0 comments on commit 940c6f2

Please sign in to comment.