mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
11 lines
284 B
Bash
11 lines
284 B
Bash
COMPOSE_FILE="docker-compose-prod.yml"
|
|
BACKUP_SCRIPT="./scripts/prod/CreateBackup.sh"
|
|
|
|
git reset --hard
|
|
git pull
|
|
|
|
/bin/bash "${BACKUP_SCRIPT}"
|
|
|
|
docker compose --file "${COMPOSE_FILE}" up --build --detach
|
|
docker image prune --all --force
|
|
docker compose --file "${COMPOSE_FILE}" restart |