version: '3.7'
services:
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
postgresql:
image: postgres:11
restart: always
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: passbook
redis:
image: redis
passbook:
image: beryju/passbook
command: /bin/bash -c "sleep infinity"
- ../:/testing
PASSBOOK_ENV: docker
user: root
working_dir: /testing