blob: 2304fe12f97df08e9c8737a4788cb171df997e7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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
|