2016-03-23 20:46:30 +00:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
chrome:
|
|
|
|
build: ./
|
|
|
|
read_only: true
|
|
|
|
networks:
|
|
|
|
- net
|
|
|
|
- pulseaudio
|
|
|
|
devices:
|
|
|
|
- /dev/dri
|
|
|
|
volumes:
|
2016-03-23 23:13:04 +00:00
|
|
|
- /dev/shm:/dev/shm
|
2016-03-23 20:46:30 +00:00
|
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
|
|
- /tmp/krb5cc_1000:/tmp/krb5cc_1000:ro
|
|
|
|
- /var/run/cups:/var/run/cups:ro
|
|
|
|
- $HOME/.config/google-chrome/:/data
|
|
|
|
- $HOME/Downloads:/home/chrome/Downloads
|
|
|
|
environment:
|
|
|
|
DISPLAY: unix$DISPLAY
|
|
|
|
PULSE_SERVER: tcp:pulseaudio:4713
|
|
|
|
cap_add:
|
|
|
|
- SYS_ADMIN
|
|
|
|
|
|
|
|
networks:
|
|
|
|
net: {}
|
|
|
|
pulseaudio:
|
|
|
|
external:
|
|
|
|
name: pulseaudio_net
|