Skip to content

Commit

Permalink
7/ @gabriel.moraes : ajuste para Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterJackpot committed Sep 26, 2019
1 parent d419baa commit 29e0d62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose-jenkins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
- "4301"
ports:
- "4301:3000"
command: ["./wait-for-it.sh", "-t", "0", "iberedb:3306", "--","bash","-c","'npx sequelize db:migrate && npm start'"]
command: "./wait-for-it.sh -t 0 iberedb:3306 -- bash -c 'npm run migration db:migrate && npm start'"
networks:
- ibere-network

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "nodemon ./bin/www",
"test": "jest --coverage",
"lint": "eslint src/**",
"lint-fix": "eslint src/** --fix"
"lint-fix": "eslint src/** --fix",
"migration": "sequelize db:migrate"
},
"dependencies": {
"cookie-parser": "~1.4.4",
Expand Down

0 comments on commit 29e0d62

Please sign in to comment.