new changes

This commit is contained in:
Niranjan
2026-04-07 20:53:04 +05:30
parent 376ea41951
commit 0732a2eba6
7 changed files with 59 additions and 10 deletions

View File

@@ -34,8 +34,10 @@ cd "$(dirname "$0")/.."
cp -n .env.example .env || true
echo "[6/6] Starting YakPanel dev stack..."
docker compose --env-file .env -f docker-compose.yakpanel.yml up -d --build
docker compose --env-file .env -f docker-compose.yakpanel.yml run --rm db-migrate
# Use scripts/docker-compose.sh so compose works in this shell even when docker group
# was just added (usermod does not apply until a new login unless we use sg docker).
bash "$(dirname "$0")/docker-compose.sh" up -d --build
bash "$(dirname "$0")/docker-compose.sh" run --rm db-migrate
echo
echo "YakPanel dev stack started."
@@ -45,4 +47,4 @@ echo "Redis: localhost:6379"
echo "NATS monitor: http://localhost:8222"
echo "MinIO console: http://localhost:9001"
echo
echo "If Docker group membership was newly applied, re-login may be required."
echo "Docker group is configured; if a future terminal still cannot run docker, log out and back in once."