Cannery

Cannery is a self-hosted firearm and ammunition inventory tracker.

  • Business & Finance
Cannery is a self-hosted firearm and ammunition inventory tracker. It lets you log firearms, ammo types and counts, containers and storage locations, custom tags, and shot records, so you always know what you have on hand. It suits gun owners and reloaders who want a private, self-hosted alternative to cloud-based inventory spreadsheets.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

51/100 Fair

Maintained
No data
Popular
No data
Easy to install
251 install platform, install notes
Light to run
85512 MB minimum RAM

Based on 2 of 4 factors.

Availability: platform listings confirmed today

No GitHub repository data collected yet.

Resources & Compatibility

Minimum requirements: 512 MB RAM.

Checked yesterday - source: Docker Hub image tags and published docs

First-install notes

  • Docker install requirements To run Cannery with Docker Compose you need a Linux server (or any Docker-capable OS), Docker Engine 20.10 or later, and the Docker Compose plugin or standalone version; at least 512MB of available RAM is recommended. source

Fetched yesterday - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

What port does Cannery run on, and can I put it behind a reverse proxy?

Cannery listens on internal port 4000, which you map in Docker Compose, and it is typically deployed behind a reverse proxy. Make sure port 4000 is available and set the HOST environment variable to your domain instead of localhost.

How do I generate the SECRET_KEY_BASE for my Cannery instance?

Run `docker run -it shibaobun/cannery /app/priv/random.sh` and copy the output into the SECRET_KEY_BASE value in your docker-compose.yml file.

Can I control whether new users can register on my Cannery instance?

Yes, set the REGISTRATION environment variable, which supports three modes: public, invite_only, or disabled. The default in the example compose file is invite_only.

Where is Cannery's data stored and how should I back it up?

Cannery uses a PostgreSQL 15 database (a separate container in the compose stack), with its data persisted in the `cannery_postgres_data` Docker volume. Back up that volume to preserve your inventory data.

What environment variables do I need to configure when deploying Cannery with Docker?

The main ones are DATABASE_URL (pointing to the Postgres container), SECRET_KEY_BASE, HOST, PORT, and REGISTRATION. DATABASE_URL should use the database credentials you also pass to the cannery-db container.

Answers sourced from wiki.linux-server-admin.com

Community

Collected yesterday - public community threads