diff --git a/docker-compose.yml b/docker-compose.yml index da8515b3..fcc611ae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -77,6 +77,8 @@ services: volumes: - ./etc/fixtures/initial-seed/initial-db-seed.sh:/docker-entrypoint-initdb.d/initial-db-seed.sh - ./etc/fixtures/:/tmp/fixtures + ports: + - 27017:27017 networks: - rosalution-network environment: diff --git a/etc/fixtures/create-annotation-manifest.js b/etc/fixtures/create-annotation-manifest.js index 3b42fbe1..0b75ab8a 100755 --- a/etc/fixtures/create-annotation-manifest.js +++ b/etc/fixtures/create-annotation-manifest.js @@ -11,7 +11,7 @@ mongosh /tmp/database/create-annotation-manifests.js Example: mongosh --host localhost --port 27017 --file /tmp/fixtures/create-annotation-manifest.js overwrite --eval="databaseName='rosalution_db'" - docker exec -it mongosh /tmp/fixtures/create-annotation-manifest.js --file /tmp/fixtures/create-annotation-manifest.js overwrite --eval="databaseName='rosalution_db'" + docker exec -it mongosh --file /tmp/fixtures/create-annotation-manifest.js overwrite --eval="databaseName='rosalution_db'" ` overwrite = process.argv.includes('overwrite')