Skip to content

Installation

This guide will help you install and run the Image Resize Service.

Prerequisites

  • Rust 1.70 or later
  • Docker (optional, for containerized deployment)
  • Kubernetes (optional, for Kubernetes deployment)
  • Helm (optional, for Helm chart deployment)

Local Development Setup

Clone the Repository

git clone https://github.com/vaam-store/image-resizer.git
cd image-resizer

Build and Run Locally

# Build the project
cargo build

# Run the service
cargo run

The service will be available at http://localhost:8080.

Docker Deployment

Using Docker Compose

The easiest way to get started is using Docker Compose:

# Start the service
docker-compose up -d

# Check logs
docker-compose logs -f

Building and Running the Docker Image

# Build the Docker image
docker build -t image-resizer:latest .

# Run the container
docker run -p 8080:8080 image-resizer:latest

Kubernetes Deployment

See the Helm Chart documentation for details on deploying to Kubernetes.