firefox/docker-compose.yml

26 lines
608 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:
2016-04-30 09:53:23 +00:00
# docker build -t andrey01/firefox .
image: andrey01/firefox
network_mode: bridge
2016-03-23 20:44:53 +00:00
devices:
- /dev/dri
2016-05-04 16:19:24 +00:00
# - /dev/video0
2016-03-23 20:44:53 +00:00
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- $XDG_RUNTIME_DIR/pulse:/run/user/1000/pulse
- data:/home/user
2016-04-07 13:56:41 +00:00
- $HOME/Downloads:/home/user/Downloads
2016-04-30 09:53:23 +00:00
- /var/run/cups:/var/run/cups:ro
2016-05-19 15:53:41 +00:00
- /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
2016-05-03 19:08:18 +00:00
- TZ=Europe/Amsterdam
2016-08-07 17:49:20 +00:00
shm_size: 4G