OCS Inventory on Docker
Spin up OCS Inventory 3.0 โ the Django REST API, the Vue single-page UI and PostgreSQL โ as a clean, secure, upgrade-friendly stack behind a single hostname.
# Prebuilt images from GHCR โ deploy in two commands
docker compose pull && docker compose up -d
๐ Get started ย ย How it works
Where to begin
First time here? Head to Getting started โ you'll have OCS running in a few commands. Already deployed? Pick a card below.
Highlightsโ
- ๐ Production-ready โ non-root, slim multi-stage images; gunicorn + WhiteNoise behind an nginx TLS edge; healthchecks; logs to stdout.
- โฌ๏ธ Upgrade-safe โ built from pinned upstream tags; migrations run
idempotently before the app starts; your data and
SECRET_KEYsurvive every update. - ๐๏ธ Runtime-configurable โ UI & API base paths, public ports and the backend URL are chosen at container start โ no image rebuild.
- ๐ Single hostname โ UI under
/front/, API and agents under/api/, same origin (no CORS to wrangle, configurable). - ๐งฌ Multi-version โ one set of parameterized Dockerfiles plus a
versions.jsonmanifest; CI builds every OCS release for amd64 & arm64.