refactor(*): move to x11
This commit is contained in:
+14
-14
@@ -5,12 +5,16 @@ services:
|
||||
build: ./display-manager
|
||||
privileged: true
|
||||
restart: always
|
||||
tty: true
|
||||
stdin_open: true
|
||||
volumes:
|
||||
- wayland-socket:/run/wayland
|
||||
- x11-socket:/tmp/.X11-unix
|
||||
- /dev:/dev
|
||||
devices:
|
||||
- "/dev/tty7:/dev/tty7"
|
||||
- "/dev/dri:/dev/dri"
|
||||
environment:
|
||||
- XDG_RUNTIME_DIR=/run/wayland
|
||||
- WAYLAND_DISPLAY=wayland-1
|
||||
- DISPLAY=:0
|
||||
|
||||
kiosk-1:
|
||||
build: ./kiosk
|
||||
@@ -20,12 +24,10 @@ services:
|
||||
ports:
|
||||
- "5011:5011"
|
||||
volumes:
|
||||
- wayland-socket:/run/wayland
|
||||
- x11-socket:/tmp/.X11-unix
|
||||
environment:
|
||||
- XDG_RUNTIME_DIR=/run/wayland
|
||||
- WAYLAND_DISPLAY=wayland-1
|
||||
- SWAYSOCK=/run/wayland/sway-ipc.sock
|
||||
- WORKSPACE=1
|
||||
- DISPLAY=:0
|
||||
- MONITOR=HDMI-1
|
||||
- PORT=5011
|
||||
- LAUNCH_URL=https://github.com
|
||||
- KIOSK=1
|
||||
@@ -39,16 +41,14 @@ services:
|
||||
ports:
|
||||
- "5012:5012"
|
||||
volumes:
|
||||
- wayland-socket:/run/wayland
|
||||
- x11-socket:/tmp/.X11-unix
|
||||
environment:
|
||||
- XDG_RUNTIME_DIR=/run/wayland
|
||||
- WAYLAND_DISPLAY=wayland-1
|
||||
- SWAYSOCK=/run/wayland/sway-ipc.sock
|
||||
- WORKSPACE=2
|
||||
- DISPLAY=:0
|
||||
- MONITOR=HDMI-2
|
||||
- PORT=5012
|
||||
- LAUNCH_URL=https://google.com
|
||||
- KIOSK=1
|
||||
- GPU=1
|
||||
|
||||
volumes:
|
||||
wayland-socket:
|
||||
x11-socket:
|
||||
|
||||
Reference in New Issue
Block a user