Installation & Setup

Install ImgCompress with Docker or Docker Compose in under 60 seconds. Run private image compression and conversion on a server, NAS, homelab, or desktop.

Get StartedDocker

Prerequisites#

You only need Docker installed. No other dependencies required.

Install#

Choose the method that works best for you.

Use Docker Compose if you want imgcompress to stay running on your server or NAS.

  1. Create a docker-compose.yml file and paste the following:

    yaml
    services:
        imgcompress:
            image: karimz1/imgcompress:latest
            container_name: imgcompress
            restart: always
            ports:
            - "3001:5000"
            environment:
            # Set to true for a minimal, mascot-free UI
            - DISABLE_LOGO=false
            # Set to true to hide storage management from your users
            - DISABLE_STORAGE_MANAGEMENT=false
  2. Pull the latest image, then start the container:

    bash
    docker compose pull
    docker compose up -d
πŸ’‘Why docker compose pull first?

If you've installed imgcompress before, Docker may still have an older image cached locally. docker compose pull makes sure you're running the latest version.

  1. Open your browser at http://localhost:3001.
ℹ️Going to production?

The file above is intentionally minimal. For permanent deployments the repository ships two hardened variants β€” log rotation, healthchecks, graceful shutdown and TLS.

VariantBest forAdds
advanced.docker-compose.yamlHome / LANHardened defaults, reachable from every device on your network.
proxied.docker-compose.yamlDomain + HTTPSTraefik reverse proxy, automatic Let's Encrypt certificates, security headers.

Both are configured through a .env file and documented in the folder's README.

Browse the compose variants


Default UI (with mascot)

The standard interface includes Captain Compress, the product mascot.

ImgCompress default web UI with Captain Compress mascotImgCompress default web UI with Captain Compress mascot

Minimal UI (set DISABLE_LOGO=true)

A clean, mascot-free interface ideal for professional, shared, or corporate environments.

ImgCompress minimal web UI without mascot, DISABLE_LOGO=trueImgCompress minimal web UI without mascot, DISABLE_LOGO=true


Update#

Keeping imgcompress up to date takes two commands.

bash
docker compose pull
docker compose up -d

Versions#

Most users should stick with latest.

TagTypeWho is it for?
latestStable releaseRecommended for everyone.
nightlyDaily buildFor testing new features before they ship.
⚠️Nightly builds

The nightly tag rebuilds every few days, for hot patches from the main branch. It may contain experimental features or bugs. Not recommended for production.


Platform Support#

imgcompress runs on any platform that supports Docker:

PlatformStatus
Standard PCs & Macsβœ… Supported
Windows (Docker Desktop)βœ… Supported
Linux (any distro)βœ… Supported
Apple Silicon (M1/M2/M3/M4)βœ… Supported
Raspberry Pi 4+βœ… Supported