e2e: use separate network
This commit is contained in:
parent
a4a7ecd493
commit
0963b68f4e
|
@ -20,12 +20,15 @@ services:
|
||||||
- hub
|
- hub
|
||||||
environment:
|
environment:
|
||||||
HUB_HOST: hub
|
HUB_HOST: hub
|
||||||
|
networks:
|
||||||
|
- e2e
|
||||||
|
|
||||||
hub:
|
hub:
|
||||||
image: selenium/hub:3.14.0-gallium
|
image: selenium/hub:3.14.0-gallium
|
||||||
ports:
|
ports:
|
||||||
- "4444:4444"
|
- "4444:4444"
|
||||||
|
networks:
|
||||||
|
- e2e
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
image: postgres:11
|
image: postgres:11
|
||||||
|
@ -33,9 +36,13 @@ services:
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
POSTGRES_DB: passbook
|
POSTGRES_DB: passbook
|
||||||
|
networks:
|
||||||
|
- e2e
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- e2e
|
||||||
passbook:
|
passbook:
|
||||||
image: beryju/passbook
|
image: beryju/passbook
|
||||||
command: /bin/bash -c "sleep infinity"
|
command: /bin/bash -c "sleep infinity"
|
||||||
|
@ -45,3 +52,8 @@ services:
|
||||||
PASSBOOK_ENV: docker
|
PASSBOOK_ENV: docker
|
||||||
user: root
|
user: root
|
||||||
working_dir: /testing
|
working_dir: /testing
|
||||||
|
networks:
|
||||||
|
- e2e
|
||||||
|
|
||||||
|
networks:
|
||||||
|
e2e:
|
||||||
|
|
Reference in New Issue