chrome/docker-compose.yml

28 lines
554 B
YAML

version: '2'
services:
chrome:
build: ./
read_only: true
networks:
- isolated
devices:
- /dev/dri
volumes:
- /dev/shm:/dev/shm
- /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:
isolated:
external:
name: isolated