main
Лев 2025-08-25 17:45:34 +05:00
parent 7d2803df6a
commit 531bb13d76
2 changed files with 3 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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"
''' '''
} }
} }

View File

@ -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