aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..cc7dae7
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,23 @@
+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
+