2020-05-28 23:45:56 +01:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
2020-06-08 10:21:14 +01:00
|
|
|
# hub:
|
|
|
|
# image: dosel/zalenium
|
|
|
|
# command: start
|
|
|
|
# ports:
|
|
|
|
# - 4444:4444
|
|
|
|
# environment:
|
|
|
|
# PULL_SELENIUM_IMAGE: 'true'
|
|
|
|
# volumes:
|
|
|
|
# - /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
# - /tmp/videos:/home/seluser/videos
|
|
|
|
# privileged: true
|
|
|
|
chrome:
|
|
|
|
image: selenium/node-chrome:3.14.0-gallium
|
|
|
|
volumes:
|
|
|
|
- /dev/shm:/dev/shm
|
|
|
|
depends_on:
|
|
|
|
- hub
|
|
|
|
environment:
|
|
|
|
HUB_HOST: hub
|
|
|
|
|
2020-05-28 23:45:56 +01:00
|
|
|
hub:
|
2020-06-08 10:21:14 +01:00
|
|
|
image: selenium/hub:3.14.0-gallium
|
2020-05-28 23:45:56 +01:00
|
|
|
ports:
|
2020-06-08 10:21:14 +01:00
|
|
|
- "4444:4444"
|
|
|
|
|
|
|
|
|
2020-06-07 18:30:56 +01:00
|
|
|
postgresql:
|
|
|
|
image: postgres:11
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
|
|
POSTGRES_DB: passbook
|
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
restart: always
|
|
|
|
passbook:
|
|
|
|
image: beryju/passbook
|
|
|
|
command: /bin/bash -c "sleep infinity"
|
|
|
|
volumes:
|
|
|
|
- ../:/testing
|
|
|
|
environment:
|
|
|
|
PASSBOOK_ENV: docker
|
|
|
|
user: root
|
|
|
|
working_dir: /testing
|