version: '3' services: backend: build: context: ./ dockerfile: ./Dockerfile network_mode: "bridge" container_name: firefox image: thornycrackers/firefox environment: - DISPLAY=unix:0 - PULSE_SERVER=unix:/tmp/pulseaudio.socket - PULSE_COOKIE=/tmp/pulseaudio.cookie volumes: - /tmp/.X11-unix:/tmp/.X11-unix - /tmp/pulseaudio.socket:/tmp/pulseaudio.socket - /tmp/pulseaudio.client.conf:/etc/pulse/client.conf - /etc/localtime:/etc/localtime:ro - ./data:/home/thorny/.mozilla command: /bin/bash firefox tty: true stdin_open: true