Hi,
If I add this image - image: selenium/standalone-chrome
I get error on boot:
I am not sure what am I doing wrong. As far as I can tell from the documentation, this image should do all the magic I need for selenium to run and it will also expose it on the right port on “localhost” just like I needed.
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/ruby:2.3.4-node-browsers
environment:
PGUSER: ubuntu
PGHOST: 127.0.0.1
RAILS_ENV: test
RACK_ENV: test
LENS_MOCKED: true
DATABASE_URL: "postgres://ubuntu@localhost:5432/my_test"
- image: mdillon/postgis:9.4
environment:
POSTGRES_USER: ubuntu
POSTGRES_DB: my_test
- image: selenium/standalone-chrome
environment:
DISPLAY: 99
CHROME_BIN: /usr/bin/google-chrome