firefox/docker-compose.yml

27 lines
655 B
YAML
Raw Normal View History

2016-03-23 20:44:53 +00:00
version: '2'
2016-04-07 13:56:41 +00:00
volumes:
data: {}
2016-03-23 20:44:53 +00:00
services:
firefox:
read_only: true
image: andrey01/firefox
network_mode: bridge
2016-03-23 20:44:53 +00:00
devices:
- /dev/dri
- /dev/video0
2016-03-23 20:44:53 +00:00
volumes:
- /dev/shm:/dev/shm:ro
- /tmp/.X11-unix:/tmp/.X11-unix:ro
2016-04-04 18:34:56 +00:00
- /etc/localtime:/etc/localtime:ro
2016-04-02 19:47:58 +00:00
- /etc/machine-id:/etc/machine-id:ro
- $XDG_RUNTIME_DIR/pulse:/run/user/1000/pulse
- /var/run/cups:/var/run/cups:ro
- data:/home/user
2016-04-07 13:56:41 +00:00
- $HOME/Downloads:/home/user/Downloads
# - /tmp/krb5cc_1000:/tmp/krb5cc_1000:ro
2016-03-23 20:44:53 +00:00
environment:
- DISPLAY=unix$DISPLAY
- PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native