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