test
parent
7d2803df6a
commit
531bb13d76
|
|
@ -5,8 +5,8 @@ pipeline {
|
||||||
stage('Stop and Remove Existing Container') {
|
stage('Stop and Remove Existing Container') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
docker stop parse_saby || true
|
"docker-compose up --force-recreate --build -d parse_saby"
|
||||||
docker rm parse_saby || true
|
"docker image prune -f"
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ services:
|
||||||
Parse_saby:
|
Parse_saby:
|
||||||
image: git.dataekb.ru/sadikov/parse_saby/parse_saby_main:latest
|
image: git.dataekb.ru/sadikov/parse_saby/parse_saby_main:latest
|
||||||
container_name: parse_saby
|
container_name: parse_saby
|
||||||
|
restart: always
|
||||||
build: .
|
build: .
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
Loading…
Reference in New Issue