Upgrade from 0.9 to 1.0
Move imgcompress from 0.9.x to 1.0 in two commands. What's new, which defaults changed, the new settings, and how to pin a version. No breaking changes.
Move imgcompress from 0.9.x to 1.0 in two commands. What's new, which defaults changed, the new settings, and how to pin a version. No breaking changes.
Good news first: 1.0 has no breaking changes. Your compose file and your settings from 0.9 keep working. Pull the new image and start it again.
bashdocker compose pull docker compose up -d
Check the footer: it shows the version you now run. Click it for the build details.
Use a fixed version instead of latest, for example karimz1/imgcompress:1.0.0. You then update by changing the tag yourself.
The full list is in the release notes.
| 0.9 | 1.0 | |
|---|---|---|
| Results kept | about 1 hour | 48 hours after the last activity, cleanup every hour |
| SVG files | not converted | converted, also in the crop preview |
| Background removal | PNG, AVIF | PNG, AVIF, WebP |
Results now stay longer, so the container's /tmp can hold more. If disk space is tight, clear old files in Manage Stored Files.
All optional. Without them, 1.0 behaves like a normal install.
| Variable | Default | What it does |
|---|---|---|
MAX_UPLOAD_SIZE_MB | 40960 (40 GB) | Largest upload per file. For a public instance, try 1024. |
WEB_WORKERS | auto (one per CPU core) | Fewer workers use less RAM, e.g. 2 on a small NAS. |
NOTIFY_URL | not set (off) | Apprise URL for Notify me when done. |
PUBLIC_BASE_URL | not set (no link) | Your imgcompress address, so the message links to the result. |
TZ | not set (UTC) | Time zone for the link expiry in messages, e.g. Europe/Berlin. |
DISABLE_UPDATE_CHECK | false | true stops the browser from asking GitHub for new versions. |
Nothing was renamed or removed. DISABLE_LOGO, DISABLE_STORAGE_MANAGEMENT and DEV_MODE work as before. All settings: Configuration reference.
latest. An RC like 1.0.0-rc.10 is only for testing. latest moves when the stable release is published. See versions.