Skip to main content

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.

OCS Inventory 3.0 License GPL-3.0 Images on GHCR amd64 ยท arm64

# 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_KEY survive 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.json manifest; CI builds every OCS release for amd64 & arm64.

Explore the docsโ€‹