Rename fittracker to milevault throughout
Build and push images / build-backend (push) Failing after 2m5s
Build and push images / build-worker (push) Failing after 4s
Build and push images / build-frontend (push) Failing after 4s

This commit is contained in:
2026-06-06 14:12:28 +01:00
parent 1a0d45dd67
commit 5e2b220366
12 changed files with 150 additions and 67 deletions
+10 -10
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# FitTracker installer
# Usage: curl -fsSL https://raw.githubusercontent.com/you/fittracker/main/install.sh | bash
# MileVault installer
# Usage: curl -fsSL https://raw.githubusercontent.com/you/milevault/main/install.sh | bash
# Or: bash install.sh
set -euo pipefail
@@ -48,7 +48,7 @@ info "Docker daemon is running"
step "Setting up install directory"
INSTALL_DIR="${FITTRACKER_DIR:-$HOME/fittracker}"
INSTALL_DIR="${FITTRACKER_DIR:-$HOME/milevault}"
if [ -d "$INSTALL_DIR" ] && [ "$(ls -A "$INSTALL_DIR" 2>/dev/null)" ]; then
warn "Directory $INSTALL_DIR already exists."
@@ -62,7 +62,7 @@ info "Install directory: $INSTALL_DIR"
# ── Download project files ────────────────────────────────────────────────────
step "Downloading FitTracker"
step "Downloading MileVault"
# If we're already inside the repo (files exist), skip download
if [ -f "docker-compose.yml" ]; then
@@ -70,7 +70,7 @@ if [ -f "docker-compose.yml" ]; then
else
# Try git first, fall back to curl
if command -v git >/dev/null 2>&1; then
git clone --depth 1 https://github.com/yourusername/fittracker.git . 2>/dev/null || {
git clone --depth 1 https://github.com/yourusername/milevault.git . 2>/dev/null || {
warn "Git clone failed — copying bundled files instead"
}
fi
@@ -111,7 +111,7 @@ else
PORT="${FITTRACKER_PORT:-80}"
cat > .env << ENV
# FitTracker configuration — generated $(date)
# MileVault configuration — generated $(date)
# Edit this file to change settings, then run: docker compose up -d
# Admin login
@@ -121,7 +121,7 @@ ADMIN_PASSWORD=${ADMIN_PASSWORD}
# Secrets (auto-generated — do not share)
SECRET_KEY=${SECRET_KEY}
DB_PASSWORD=${DB_PASSWORD}
DB_USER=fittracker
DB_USER=milevault
REDIS_PASSWORD=${REDIS_PASSWORD}
# Server
@@ -133,7 +133,7 @@ VITE_MAPBOX_TOKEN=
# Optional: PocketID passkey authentication
# POCKETID_ISSUER=https://your-pocketid.example.com
# POCKETID_CLIENT_ID=fittracker
# POCKETID_CLIENT_ID=milevault
# POCKETID_CLIENT_SECRET=
ENV
@@ -160,7 +160,7 @@ step "Waiting for services to be ready"
TIMEOUT=120
ELAPSED=0
printf " Waiting"
while ! docker inspect fittracker_backend 2>/dev/null | grep -q '"healthy"' ; do
while ! docker inspect milevault_backend 2>/dev/null | grep -q '"healthy"' ; do
if [ $ELAPSED -ge $TIMEOUT ]; then
echo ""
warn "Backend taking longer than expected. Check logs: docker compose logs backend"
@@ -181,7 +181,7 @@ URL="http://localhost${PORT:+:${PORT}}"
echo ""
echo -e "${GREEN}${BOLD}╔══════════════════════════════════════════╗${NC}"
echo -e "${GREEN}${BOLD}FitTracker is ready! ║${NC}"
echo -e "${GREEN}${BOLD}MileVault is ready! ║${NC}"
echo -e "${GREEN}${BOLD}╚══════════════════════════════════════════╝${NC}"
echo ""
echo -e " 🌐 Open: ${CYAN}${URL}${NC}"