Manage your electronic component inventory efficiently with a powerful, open-source web application designed for hobbyists, makerspaces, and small businesses. Access your database from any device through a responsive interface without installing additional software. Easily categorize parts by footprint, manufacturer, and storage location while attaching datasheets and images.\n\nKey features include:\n* Barcode generation and scanning directly via webcam to quickly log parts.\n* Project management tools to create Bills of Materials (BOM) and withdraw needed components automatically.\n* Advanced user permissions with Two-Factor Authentication (2FA) and Single Sign-On (SSO) support.\n* Cloud provider integration to fetch data and pricing from Octopart, Digikey, Mouser, and more.\n* Direct KiCad integration to view available parts directly within your EDA workflow.\n\nMaintain complete control over your data with detailed event logs and multiple database backend options.
services:
partdb:
image: partdb/part-db:latest
container_name: partdb
restart: unless-stopped
environment:
- APP_ENV=prod
- APP_SECRET=${APP_SECRET}
- DATABASE_URL=mysql://${DB_USER}:${DB_PASSWORD}@db:3306/${DB_NAME}
- TZ=UTC
volumes:
- ./data/media:/var/www/html/public/media
- ./data/config:/var/www/html/config
ports:
- "8080:80"
depends_on:
- db
db:
image: mariadb:10
container_name: partdb-db
restart: unless-stopped
environment:
- MARIADB_DATABASE=${DB_NAME}
- MARIADB_USER=${DB_USER}
- MARIADB_PASSWORD=${DB_PASSWORD}
- MARIADB_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
volumes:
- ./data/db:/var/lib/mysqlAPP_SECRET=replace_this_with_a_long_random_hex_string_32_chars
DB_NAME=partdb
DB_USER=partdb
DB_PASSWORD=secure_database_password
DB_ROOT_PASSWORD=secure_root_passwordAuto-fetched about 24 hours ago
Auto-fetched about 24 hours ago