55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
display-manager:
|
|
build: ./display-manager
|
|
privileged: true
|
|
restart: always
|
|
volumes:
|
|
- wayland-socket:/run/wayland
|
|
- /dev:/dev
|
|
environment:
|
|
- XDG_RUNTIME_DIR=/run/wayland
|
|
- WAYLAND_DISPLAY=wayland-1
|
|
|
|
kiosk-1:
|
|
build: ./kiosk
|
|
restart: always
|
|
depends_on:
|
|
- display-manager
|
|
ports:
|
|
- "5011:5011"
|
|
volumes:
|
|
- wayland-socket:/run/wayland
|
|
environment:
|
|
- XDG_RUNTIME_DIR=/run/wayland
|
|
- WAYLAND_DISPLAY=wayland-1
|
|
- SWAYSOCK=/run/wayland/sway-ipc.sock
|
|
- WORKSPACE=1
|
|
- PORT=5011
|
|
- LAUNCH_URL=https://github.com
|
|
- KIOSK=1
|
|
- GPU=1
|
|
|
|
kiosk-2:
|
|
build: ./kiosk
|
|
restart: always
|
|
depends_on:
|
|
- display-manager
|
|
ports:
|
|
- "5012:5012"
|
|
volumes:
|
|
- wayland-socket:/run/wayland
|
|
environment:
|
|
- XDG_RUNTIME_DIR=/run/wayland
|
|
- WAYLAND_DISPLAY=wayland-1
|
|
- SWAYSOCK=/run/wayland/sway-ipc.sock
|
|
- WORKSPACE=2
|
|
- PORT=5012
|
|
- LAUNCH_URL=https://google.com
|
|
- KIOSK=1
|
|
- GPU=1
|
|
|
|
volumes:
|
|
wayland-socket:
|