Skip to content

Commit

Permalink
chore: give containers root access to save reports (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleyow authored Feb 22, 2023
1 parent 355dbf1 commit 8c322a5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ services:
ports:
- "3002:3002"
volumes:
- ./docker/config-modifier:/opt/app/config-modifier
- ./docker/config-modifier:/opt/app/config-modifier
healthcheck:
test: wget -q http://localhost:3002/health -O /dev/null || exit 1
timeout: 20s
Expand All @@ -152,7 +152,7 @@ services:
- "3000:3000"
volumes:
- ./docker/wait4:/opt/app/wait4
- ./docker/config-modifier:/opt/app/config-modifier
- ./docker/config-modifier:/opt/app/config-modifier
environment:
- LOG_LEVEL=info
networks:
Expand All @@ -168,6 +168,7 @@ services:
retries: 30
interval: 30s
start_period: 30s
user: root
profiles:
- ml-api-adapter
- transfer
Expand Down Expand Up @@ -216,7 +217,7 @@ services:
condition: service_started
volumes:
- ./docker/wait4:/opt/account-lookup-service/wait4
- ./docker/config-modifier:/opt/account-lookup-service/config-modifier
- ./docker/config-modifier:/opt/account-lookup-service/config-modifier
healthcheck:
test: wget -q http://localhost:4001/health -O /dev/null || exit 1
timeout: 20s
Expand Down Expand Up @@ -317,6 +318,7 @@ services:
- sh
- -c
- "npm run cli -- -u http://mojaloop-testing-toolkit:5050 -l 2 -i collections/provisioning -e environments/default-env.json --report-format html --report-target file://reports/ttk-provisioning-report.html"
user: root
profiles:
- ttk-provisioning

Expand Down Expand Up @@ -345,6 +347,7 @@ services:
- sh
- -c
- "npm run cli -- -u http://mojaloop-testing-toolkit:5050 -l 2 -i collections/tests -e environments/default-env.json --report-format html --report-target file://reports/ttk-func-tests-report.html"
user: root
profiles:
- ttk-tests

Expand Down

0 comments on commit 8c322a5

Please sign in to comment.