version: '2' # TODO consider passing $XAUTHORITY # https://stackoverflow.com/a/25280523/5894777 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/