Files
pokemon-inventory/scripts/rollback-production.sh
T
2026-09-10 02:09:25 -04:00

9 lines
279 B
Bash
Executable File

#!/bin/sh
set -eu
: "${RELEASE_TAG:?Set RELEASE_TAG to the previously deployed immutable image tag}"
export IMAGE_TAG="$RELEASE_TAG"
docker compose -f compose.production.yaml up -d --wait api worker web
docker compose -f compose.production.yaml ps
./scripts/smoke-production.sh