Cannery

AGPL-3.0-or-later
Platform
Docker Web Self-hosted
Licence
AGPL-3.0-or-later Open source
Cannery

Cannery is a self-hosted web application for keeping track of a personal ammunition inventory. It records what you own, where it is stored and how much of it has been used, so the count before a range day matches the count after it.

Key Features

  • Containers — model range bags, safes and cabinets, each with a location, type, capacity, manufacturer and optional serial number.
  • Ammunition catalog — record calibre, cartridge, bullet type, grain weight, muzzle velocity, case material and manufacturer for every load you stock.
  • Ammo packs — add individual boxes or crates of a load to a container, with a round count, price paid, purchase date and lot number.
  • Staging and shot records — stage the packs you are taking to the range, then log what you actually fired so stock levels stay accurate.
  • Tags — group containers and loads with your own free-form tags.
  • Components — track reloading components alongside finished ammunition.
  • Invites — share an instance with invite tokens or open registration; the first account created becomes the administrator.
  • Photos — attach images to ammunition, guns, components and containers.

Why use Cannery?

Ammunition is consumable, bought in batches and spread across bags, safes and cabinets. Without a record, restocking is guesswork and the same box can be counted twice. Cannery keeps the inventory in one place, warns you before a range day that a container is running low, and keeps the history of what was fired and when. Because it is self-hosted, the inventory never leaves a server you control.

Running it

Cannery is an Elixir and Phoenix application backed by PostgreSQL. The published shibaobun/cannery Docker image is the intended way to run it: start the app container beside a Postgres container and reverse proxy to port 4000. Two secrets must be generated before the first start — SECRET_KEY_BASE (signs cookies) and CLOAK_KEY (encrypts stored authenticator secrets; back it up, a new value makes existing ones unreadable). Set HOST to the external domain, REGISTRATION to invite or public, and DISABLE_EMAIL to run without an SMTP relay. The interface is available in English, German, French and Spanish.

Also in the directory: DumbAssets, a self-hosted tracker for household assets and their maintenance history.

Explore More Categories

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.