version: '3' services: backend: build: context: ./ dockerfile: ./Dockerfile network_mode: "host" 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 - /home/thorny/Downloads:/home/thorny/Downloads command: /bin/bash firefox tty: true stdin_open: true