Compare commits
No commits in common. "9807434c5f7670b570cd99e70b739ca4b06459ec" and "6d3642ee13c98590e7f3d9ab61e3197c13974cbe" have entirely different histories.
9807434c5f
...
6d3642ee13
1 changed files with 2 additions and 6 deletions
|
|
@ -111,12 +111,8 @@ jobs:
|
||||||
image: mongo:7
|
image: mongo:7
|
||||||
env:
|
env:
|
||||||
MONGO_INITDB_DATABASE: normogen_test
|
MONGO_INITDB_DATABASE: normogen_test
|
||||||
# No `ports:` mapping: the job container reaches Mongo over the job's
|
ports:
|
||||||
# internal network via the service hostname (MONGODB_URI uses `mongo`,
|
- 27017:27017
|
||||||
# not localhost). Publishing to a host port is unnecessary and collides
|
|
||||||
# with any mongod already bound to :27017 on the runner host — which
|
|
||||||
# made the service container fail to schedule ("port is already
|
|
||||||
# allocated") and aborted the whole test job before any test ran.
|
|
||||||
env:
|
env:
|
||||||
MONGODB_URI: mongodb://mongo:27017
|
MONGODB_URI: mongodb://mongo:27017
|
||||||
APP_ENVIRONMENT: development
|
APP_ENVIRONMENT: development
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue