18 lines
308 B
Bash
Executable file
18 lines
308 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
echo "==> Building Docker images"
|
|
docker compose build
|
|
|
|
echo "==> Starting services"
|
|
docker compose up -d
|
|
|
|
echo "==> Running migrations"
|
|
scripts/migrate.sh
|
|
|
|
echo "==> Running healthcheck"
|
|
scripts/healthcheck.sh
|
|
|
|
echo "==> Deployment completed"
|