123456789101112131415161718 |
- version: '2'
- # options to share host's x-server:
- # - Xephyr
- # - pass $XAUTHORITY (insecure, https://stackoverflow.com/a/25280523/5894777)
- # - xhost + (horribly insecure)
- services:
- browser:
- build: .
- image: docker.io/fphammerle/brave-browser-x11
- environment:
- - DISPLAY
- volumes:
- - /tmp/.X11-unix:/tmp/.X11-unix
- security_opt: [no-new-privileges]
- # https://docs.docker.com/compose/compose-file/compose-file-v2/
|