Add Ubuntu deployment: scripts, SSL, systemd and setup.sh
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "${ROOT_DIR}"
|
||||
|
||||
git pull origin main
|
||||
docker compose up --build -d
|
||||
docker image prune -f
|
||||
|
||||
echo "Обновление завершено."
|
||||
Reference in New Issue
Block a user