ReplacesGoogle One 2 TB ($100/yr)
Memory footprint1.5 GB idle · 3.4 GB peak
Architecturesamd64 / arm64
LicenseAGPL-3.0 · Medium
Watch out
The first import runs face + CLIP jobs for hours and can eat 3 GB+. On 4–8 GB boxes, pause ML or cap job concurrency to 1.
Optional modules
- Machine learning (faces, smart search)idle ±900 MB · peak ±2.0 GB
Zero-open-port Compose snippet
Includes mem_limit and 127.0.0.1 binding. Open in Planner to combine with Tailscale/Cloudflare & .env.
# Generated by NASPicks (https://naspicks.com/planner/)
# Hardware: UGREEN NASync DXP2800 (8 GB, ugos) | Peak est: 3.4 GB / 6.7 GB
# Zero-open-port default: web ports bind to 127.0.0.1 and are reached via tailscale.
# Every service includes mem_limit (peak x 1.2) to help prevent host OOM freezes.
services:
immich-server:
image: ghcr.io/immich-app/immich-server:release
container_name: immich_server
restart: unless-stopped
mem_limit: 1920m
ports:
- "127.0.0.1:2283:2283"
environment:
- TZ=${TZ}
- DB_HOSTNAME=immich-postgres
- DB_USERNAME=postgres
- DB_PASSWORD=${IMMICH_DB_PASSWORD}
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich-redis
volumes:
- ${DATA_DIR}/immich/upload:/usr/src/app/upload
depends_on:
- immich-redis
- immich-postgres
networks:
- naspicks
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release
container_name: immich_machine_learning
restart: unless-stopped
mem_limit: 1920m
volumes:
- ${DATA_DIR}/immich/model-cache:/cache
networks:
- naspicks
immich-redis:
image: docker.io/valkey/valkey:8-alpine
container_name: immich_redis
restart: unless-stopped
mem_limit: 128m
networks:
- naspicks
immich-postgres:
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
container_name: immich_postgres
restart: unless-stopped
mem_limit: 512m
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${IMMICH_DB_PASSWORD}
- POSTGRES_DB=immich
volumes:
- immich_pgdata:/var/lib/postgresql/data
networks:
- naspicks
volumes:
immich_pgdata:
networks:
naspicks:
driver: bridge
Comments (GitHub Discussions)
GitHub Discussions ↗Comments load lazily to keep pages fast everywhere.