Skip to content

Commit

Permalink
MAINT: Fix mongo exit code 14 (#56)
Browse files Browse the repository at this point in the history
* Update docker-compose.yml

* fix: update image and use local docker compose

* fix: mount volume
  • Loading branch information
oesteban authored Feb 24, 2023
1 parent a4b6378 commit 0fd383b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
working_directory: /home/circleci/mriqcwebapi

machine:
image: ubuntu-2004:202104-01
image: ubuntu-2204:2023.02.1
docker_layer_caching: true

environment:
Expand All @@ -28,12 +28,6 @@ jobs:
fi
- checkout
- run:
name: Install dependencies
command: |
python3 -m pip install --upgrade pip
python3 -m pip install docker-compose
python3 -m pip install requests
- run:
name: Set-up dockereve
command: |
Expand Down Expand Up @@ -69,6 +63,12 @@ jobs:
- store_artifacts:
path: /tmp/log/

- run:
name: Install dependencies
command: |
python3 -m pip install --upgrade pip
python3 -m pip install requests
- run:
name: Test MRIQC WebAPI
command: python3 test/testGetPost.py
Expand Down
3 changes: 1 addition & 2 deletions dockereve-master/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ services:
- ./eve-app/settings.py:/usr/src/app/settings.py
- ./log/:/var/log/
- eve:/usr/src/app/static
# - /usr/src/app/static
command: /usr/local/bin/gunicorn -w 2 --access-logfile /var/log/gunicorn.log -b :5000 app:app
depends_on:
- mongodb
Expand All @@ -52,8 +51,8 @@ services:
mongodb:
image: mongo:latest
container_name: mongodb
command: mongod --verbose --bind_ip_all
hostname: mongodb
command: mongod --bind_ip_all
ports:
- "27017:27017"
networks:
Expand Down

0 comments on commit 0fd383b

Please sign in to comment.