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: ...@@ -16,10 +16,10 @@ build_in_branch:
- shell - shell
script: script:
- echo "starting build in branch" - echo "starting build in branch"
# - npm install - npm install
# - npm run test-jest - npm run test-jest
# - docker-compose config - docker-compose config
# - docker-compose build - docker-compose build
- echo y | plink -ssh administrator@staging.karname.ir "exit" - 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 - docker save -o ./scripts/karname-app.tar karname/app:$env:TAG_VERSION # save docker in scripts folder
......
...@@ -7,7 +7,7 @@ services: ...@@ -7,7 +7,7 @@ services:
restart: on-failure restart: on-failure
image: "karname/app:${TAG_VERSION}" image: "karname/app:${TAG_VERSION}"
ports: ports:
- '80:3000' - '5050:3000'
depends_on: depends_on:
- mongo - mongo
links: links:
...@@ -16,7 +16,7 @@ services: ...@@ -16,7 +16,7 @@ services:
ROOT_URL: ${APP_ROOT_URL:-http://localhost} ROOT_URL: ${APP_ROOT_URL:-http://localhost}
MONGO_URL: mongodb://mongo:27017/karname MONGO_URL: mongodb://mongo:27017/karname
PORT: 3000 PORT: 3000
METEOR_SETTINGS: '{"worklistUrl":"http://192.168.0.156"}' METEOR_SETTINGS: '{"worklistUrl":"http://192.168.0.163"}'
mongo: mongo:
image: repo.marcopacs.com/kelishe/mongo:4.2.0 image: repo.marcopacs.com/kelishe/mongo:4.2.0
command: command:
......
...@@ -19,7 +19,7 @@ services: ...@@ -19,7 +19,7 @@ services:
ROOT_URL: ${APP_ROOT_URL:-http://localhost} ROOT_URL: ${APP_ROOT_URL:-http://localhost}
MONGO_URL: mongodb://mongo:27017/karname MONGO_URL: mongodb://mongo:27017/karname
PORT: 3000 PORT: 3000
METEOR_SETTINGS: '{"worklistUrl":"http://192.168.0.156"}' METEOR_SETTINGS: '{"worklistUrl":"http://192.168.0.163"}'
mongo: mongo:
image: repo.marcopacs.com/kelishe/mongo:4.2.0 image: repo.marcopacs.com/kelishe/mongo:4.2.0
command: 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