docker-head.yaml 381 B

123456789101112131415161718
  1. services:
  2. selenium:
  3. image: selenium
  4. build: ubuntu
  5. init: true
  6. ports:
  7. - "9515:9515"
  8. # X Display
  9. environment:
  10. - DISPLAY=${DISPLAY}
  11. network_mode: host
  12. volumes:
  13. - "/etc/localtime:/etc/localtime:ro"
  14. - "./download:/home/ubuntu/download"
  15. - "/tmp/.X11-unix:/tmp/.X11-unix"
  16. user: 1000:1000