Commit c00aee8e authored by Reza Sahebgharan's avatar Reza Sahebgharan

test staging

parent e2eef929
Pipeline #423 passed with stages
in 40 minutes and 55 seconds
......@@ -16,10 +16,10 @@ build_in_branch:
- shell
script:
- echo "starting build in branch"
# - npm install
# - npm run test-jest
# - docker-compose config
# - docker-compose build
- npm install
- npm run test-jest
- docker-compose config
- docker-compose build
- echo y | plink -ssh administrator@staging.karname.ir "exit"
- docker save -o ./scripts/karname-app.tar karname/app:$env:TAG_VERSION # save docker in scripts folder
......
......@@ -7,7 +7,7 @@ services:
restart: on-failure
image: "karname/app:${TAG_VERSION}"
ports:
- '80:3000'
- '5050:3000'
depends_on:
- mongo
links:
......@@ -16,7 +16,7 @@ services:
ROOT_URL: ${APP_ROOT_URL:-http://localhost}
MONGO_URL: mongodb://mongo:27017/karname
PORT: 3000
METEOR_SETTINGS: '{"worklistUrl":"http://192.168.0.156"}'
METEOR_SETTINGS: '{"worklistUrl":"http://192.168.0.163"}'
mongo:
image: repo.marcopacs.com/kelishe/mongo:4.2.0
command:
......
......@@ -19,7 +19,7 @@ services:
ROOT_URL: ${APP_ROOT_URL:-http://localhost}
MONGO_URL: mongodb://mongo:27017/karname
PORT: 3000
METEOR_SETTINGS: '{"worklistUrl":"http://192.168.0.156"}'
METEOR_SETTINGS: '{"worklistUrl":"http://192.168.0.163"}'
mongo:
image: repo.marcopacs.com/kelishe/mongo:4.2.0
command:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment