9 lines
384 B
Bash
9 lines
384 B
Bash
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
# Keep PostgreSQL named volume and the generated DB credentials unchanged.
|
|
# Restart shared DB and both API replicas; restart proxy to refresh backends.
|
|
docker compose --env-file .env restart -t 5 db s3 api1 api2
|
|
docker compose --env-file .env up -d --no-deps --wait --wait-timeout 55 api1 api2
|
|
docker compose --env-file .env restart -t 5 lb
|