services: selenium: image: selenium build: ubuntu init: true ports: - "9515:9515" # X Display environment: - DISPLAY=${DISPLAY} network_mode: host volumes: - "/etc/localtime:/etc/localtime:ro" - "./download:/home/ubuntu/download" - "/tmp/.X11-unix:/tmp/.X11-unix" user: 1000:1000