version: "3" services: web: build: . command: bundle exec rails s -b 0.0.0.0 ports: - "3000:3000" - "4000:4000" volumes: - .:/usr/src/app - /usr/src/app/node_modules env_file: - config/docker.env depends_on: - database stdin_open: true tty: true platform: linux/x86_64 database: image: postgres:12.5 env_file: - config/docker.env volumes: - db_data:/var/lib/postgresql/data ports: - "5435:5432" selenium_chrome: image: selenium/standalone-chrome-debug logging: driver: none ports: - "5900:5900" volumes: - ./tmp/downloads:/home/seluser/Downloads volumes: db_data: