Do we need to wait until the web client is up?

This commit is contained in:
Robert Schäfer 2019-02-15 02:29:09 +01:00 committed by Matt Rider
parent a41063a60a
commit 8453d95f68
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ before_install:
install:
- docker build --build-arg BUILD_COMMIT=$TRAVIS_COMMIT --target production -t humanconnection/nitro-backend:latest .
- docker-compose -f docker-compose.yml -f docker-compose.travis.yml up -d
- wait-on tcp:7687 && docker-compose exec neo4j migrate
- wait-on http://localhost:7474 && docker-compose exec neo4j migrate
script:
- docker-compose exec backend yarn run lint

View File

@ -4,6 +4,7 @@ services:
neo4j:
ports:
- 7687:7687
- 7474:7474
backend:
image: humanconnection/nitro-backend:builder
build: