docker-compose.yml 439 B

123456789101112131415161718
  1. version: '2'
  2. # options to share host's x-server:
  3. # - Xephyr
  4. # - pass $XAUTHORITY (insecure, https://stackoverflow.com/a/25280523/5894777)
  5. # - xhost + (horribly insecure)
  6. services:
  7. browser:
  8. build: .
  9. image: docker.io/fphammerle/brave-browser-x11
  10. environment:
  11. - DISPLAY
  12. volumes:
  13. - /tmp/.X11-unix:/tmp/.X11-unix
  14. security_opt: [no-new-privileges]
  15. # https://docs.docker.com/compose/compose-file/compose-file-v2/