60 lines
1.1 KiB
YAML
60 lines
1.1 KiB
YAML
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
|
|
chrome:
|
|
image: selenium/node-chrome:3.14.0-gallium
|
|
volumes:
|
|
- /dev/shm:/dev/shm
|
|
depends_on:
|
|
- hub
|
|
environment:
|
|
HUB_HOST: hub
|
|
networks:
|
|
- e2e
|
|
|
|
hub:
|
|
image: selenium/hub:3.14.0-gallium
|
|
ports:
|
|
- "4444:4444"
|
|
networks:
|
|
- e2e
|
|
|
|
postgresql:
|
|
image: postgres:11
|
|
restart: always
|
|
environment:
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
POSTGRES_DB: passbook
|
|
networks:
|
|
- e2e
|
|
redis:
|
|
image: redis
|
|
restart: always
|
|
networks:
|
|
- e2e
|
|
passbook:
|
|
image: beryju/passbook
|
|
command: /bin/bash -c "sleep infinity"
|
|
volumes:
|
|
- ../:/testing
|
|
environment:
|
|
PASSBOOK_ENV: docker
|
|
user: root
|
|
working_dir: /testing
|
|
networks:
|
|
- e2e
|
|
|
|
networks:
|
|
e2e:
|