docker-compose.yml 365 B

12345678910111213141516
  1. version: '2'
  2. # TODO consider passing $XAUTHORITY
  3. # https://stackoverflow.com/a/25280523/5894777
  4. services:
  5. browser:
  6. build: .
  7. image: docker.io/fphammerle/brave-browser-x11
  8. environment:
  9. - DISPLAY
  10. volumes:
  11. - /tmp/.X11-unix:/tmp/.X11-unix
  12. security_opt: [no-new-privileges]
  13. # https://docs.docker.com/compose/compose-file/compose-file-v2/