-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (35 loc) · 1.03 KB
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (35 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
services:
swayvnc-chrome:
build:
context: .
container_name: swayvnc-chrome
environment:
# replace with GID of the group which owns the /dev/dri/renderD128 device
- RENDER_GROUP_GID=107
# optional sway/wayvnc configuration
- SWAY_RESOLUTION=1920x1080
- WAYVNC_PORT=5910
- WAYVNC_ENABLE_AUTH=true
- WAYVNC_USERNAME=wayvnc
- WAYVNC_PASSWORD=wayvnc
volumes:
- swayvnc-wayvnc-certs:/certs
privileged: true
ports:
- 5910:5910
# optional, pass a custom command as an argument to entrypoint.sh to run it under the wayland session
entrypoint: [
"/entrypoint.sh",
# example for running chrome
"google-chrome-stable",
"--enable-features=UseOzonePlatform",
"--ozone-platform=wayland",
"--disable-dev-shm-usage",
"--disable-notifications",
"--disable-popup-blocking",
"--no-first-run",
"--disable-fre",
"--no-default-browser-check",
]
volumes:
swayvnc-wayvnc-certs: