Commit 1bb111f0 authored by Reza Sahebgharan's avatar Reza Sahebgharan

fix(dockerfile and gitlabci update): update docker-compose and gitlabci

parent 3eebe806
Pipeline #917 passed with stage
in 35 seconds
...@@ -72,8 +72,6 @@ build_in_staging: ...@@ -72,8 +72,6 @@ build_in_staging:
- echo y | plink -batch -ssh administrator@staging.karname.ir -pw $env:StagingPass -m ./command.bat - echo y | plink -batch -ssh administrator@staging.karname.ir -pw $env:StagingPass -m ./command.bat
# - ./scripts/command.ps1 # - ./scripts/command.ps1
allow_failure: true allow_failure: true
# only:
# - devel-windows
only: only:
- /^.*staging.*/ - /^.*staging.*/
...@@ -90,9 +88,6 @@ build_in_master: ...@@ -90,9 +88,6 @@ build_in_master:
allow_failure: true allow_failure: true
only: only:
- tags - tags
except:
refs:
- staging.hisworklist
# on_build_failure: # on_build_failure:
# stage: cleanup_build # stage: cleanup_build
......
...@@ -2,7 +2,7 @@ version: "3" ...@@ -2,7 +2,7 @@ version: "3"
services: services:
app: app:
container_name: ${CONTAINERNAME} #karname-app # container_name: ${CONTAINERNAME} #karname-app
restart: always restart: always
image: repo.marcopacs.com/karname/karname-app:${TAG_VERSION} #"karname-app:${TAG_VERSION}" image: repo.marcopacs.com/karname/karname-app:${TAG_VERSION} #"karname-app:${TAG_VERSION}"
# ports: # ports:
......
cd c:/Users/administrator && docker-compose config && docker-compose up -d --force-recreate cd c:/Users/administrator && docker-compose config && docker-compose up -d --force-recreate -p %CONTAINERNAME%
\ No newline at end of file \ No newline at end of file
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