Files
Trackeep/landing/DOCKER_README.md
T
Tomas Dvorak b083dac3f0 feat(frontend): enhance API credentials system and build configuration
Add real API support in demo mode with credential checking, implement build-time version injection from package.json, and refactor update checking with 24-hour caching. Migrate landing page from Vue to Astro with comprehensive UI components including Hero, Features, Benefits, and Tech Stack sections. Update CI/CD workflow with expanded cache paths and security scanner version pinned.
2026-02-10 16:25:57 +01:00

1.7 KiB

Docker Deployment for Trackkeep Landing Page

Quick Start

# Deploy the landing page
./deploy.sh deploy

# Or use Docker Compose
./deploy.sh compose

# For production with SSL
./deploy.sh ssl

Option 2: Manual Docker Commands

# Build and run with Docker Compose
docker-compose up -d

# Access the landing page
http://localhost:8080

Available Commands

./deploy.sh help          # Show all available commands
./deploy.sh build         # Build Docker image only
./deploy.sh run           # Run container only
./deploy.sh deploy        # Build and run container
./deploy.sh compose       # Deploy with Docker Compose
./deploy.sh ssl           # Deploy with SSL (Traefik)
./deploy.sh logs          # Show container logs
./deploy.sh health        # Perform health check
./deploy.sh stop          # Stop container
./deploy.sh cleanup       # Clean up containers and images

Features

  • Multi-stage Docker build for optimized image size
  • Nginx with gzip compression and security headers
  • Health checks with /health endpoint
  • SSL support with Traefik and Let's Encrypt
  • Easy deployment with automated scripts
  • Production ready with security best practices

Configuration

  • Port: 8080 (can be changed in docker-compose.yml)
  • Health endpoint: /health
  • SSL: Optional with Traefik profile
  • Domain: Configurable for SSL certificates

Monitoring

# Check container status
docker-compose ps

# View logs
./deploy.sh logs

# Health check
./deploy.sh health

The landing page is now fully dockerized and ready for production deployment!