chrome/docker-compose.yml

30 lines
586 B
YAML
Raw Normal View History

2016-03-23 20:46:30 +00:00
version: '2'
services:
chrome:
build: ./
read_only: true
networks:
- net
- pulseaudio
devices:
- /dev/dri
volumes:
- /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