BrickTracker

BrickTracker

Docker-Anwendung from grtgbln's Repository

Übersicht

A web application for organizing and tracking LEGO sets, parts, and minifigures. Uses the Rebrickable API to fetch LEGO data and allows users to track missing pieces and collection status.

Anforderungen


        Expects an app.db file to exist at the Database Path before container is started. See the README for more information: https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker#setup-using-pre-build-docker-image
        

        Developer offers way too many configuration options to list all in this template. See all options here: https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker/src/branch/master/docs/env.md
    

Laufzeit-Argumente

Web-UI
http://[IP]:[PORT:3333]/
Netzwerk
bridge
Privilegiert
false

Konfiguration der Vorlage

Web UI PortPorttcp

Container Port: 3333

Ziel
3333
Standard
3333
Wert
3333
Rebrickable API KeyVariable

API key for Rebrickable. Get one at https://rebrickable.com/api/

Ziel
BK_REBRICKABLE_API_KEY
Domain NameVariable

Domain name for the application. Replace with local IP address or domain name.

Ziel
BK_DOMAIN_NAME
Standard
http://IP_ADDRESS:3333
Wert
http://IP_ADDRESS:3333
Parts Storage PathPath

Path to store part images

Ziel
/app/static/parts
Standard
/mnt/user/appdata/brick_tracker/parts
Wert
/mnt/user/appdata/brick_tracker/parts
Instructions Storage PathPath

Path to store instruction images

Ziel
/app/static/instructions
Standard
/mnt/user/appdata/brick_tracker/instructions
Wert
/mnt/user/appdata/brick_tracker/instructions
Sets Storage PathPath

Path to store set images

Ziel
/app/static/sets
Standard
/mnt/user/appdata/brick_tracker/sets
Wert
/mnt/user/appdata/brick_tracker/sets
Minifigures Storage PathPath

Path to store minifigure images

Ziel
/app/static/minifigures
Standard
/mnt/user/appdata/brick_tracker/minifigs
Wert
/mnt/user/appdata/brick_tracker/minifigs
Database PathPath

Path to the SQLite database. Run `touch app.db` BEFORE running container for the first time.

Ziel
data/app.db
Standard
/mnt/user/appdata/brick_tracker/app.db
Wert
/mnt/user/appdata/brick_tracker/app.db
PasswordVariable

Password for the application. Useful if you want to share the page with other in read-only.

Ziel
BK_AUTHENTICATION_PASSWORD
Authentication KeyVariable

A unique key used to sign the secrets when using authentication. Remove if not using Password. Use Python command: python3 -c 'import secrets; print(secrets.token_hex())'

Ziel
BK_AUTHENTICATION_KEY
Display Bricklink LinksVariable

Display Bricklink links wherever applicable

Ziel
BK_BRICKLINK_LINKS
Standard
false|true
Display Rebrickable LinksVariable

Display Rebrickable links wherever applicable

Ziel
BK_REBRICKABLE_LINKS
Standard
false|true
Allowed Upload File TypesVariable

Comma separated list of allowed file types for instructions

Ziel
BK_INSTRUCTIONS_ALLOWED_EXTENSIONS
Standard
.pdf,.docx,.png
Wert
.pdf,.docx,.png
Hide 'Add' ButtonVariable

Hide the 'Add' entry from the menu.

Ziel
BK_HIDE_ADD_SET
Standard
false|true
Hide 'Bulk Add' ButtonVariable

Hide the 'Bulk Add' entry from the add page.

Ziel
BK_HIDE_ADD_BULK_SET
Standard
false|true
Hide 'Admin'Variable

Hide the 'Admin' entry from the menu.

Ziel
BK_HIDE_ADMIN
Standard
false|true
Hide 'Instructions'Variable

Hide the 'Instructions' entry from the menu.

Ziel
BK_HIDE_ALL_INSTRUCTIONS
Standard
false|true
Hide 'Instructions' in SetsVariable

Hide the 'Instructions' entry from the Set card.

Ziel
BK_HIDE_SET_INSTRUCTIONS
Standard
false|true
Hide 'Minifigures'Variable

Hide the 'Minifigures' entry from the menu.

Ziel
BK_HIDE_ALL_MINIFIGURES
Standard
false|true
Hide 'Parts'Variable

Hide the 'Parts' entry from the menu.

Ziel
BK_HIDE_ALL_PARTS
Standard
false|true
Hide 'Sets'Variable

Hide the 'Sets' entry from the menu.

Ziel
BK_HIDE_ALL_SETS
Standard
false|true
Hide 'Missing'Variable

Hide the 'Missing' entry from the menu.

Ziel
BK_HIDE_MISSING_PARTS
Standard
false|true
Hide 'Problems'Variable

Hide the 'Problems' entry from the menu.

Ziel
BK_HIDE_ALL_PROBLEMS_PARTS
Standard
false|true
Hide 'Storages'Variable

Hide the 'Storages' entry from the menu.

Ziel
organizer
Standard
false|true
Hide 'Wishlist'Variable

Hide the 'Wishlist' entry from the menu.

Ziel
BK_HIDE_WISHES
Standard
false|true
Hide 'Damaged' ColumnVariable

Hide the 'Damaged' column from the parts table.

Ziel
BK_HIDE_TABLE_DAMAGED_PARTS
Standard
false|true
Hide 'Missing' ColumnVariable

Hide the 'Missing' column from the parts table.

Ziel
BK_HIDE_TABLE_MISSING_PARTS
Standard
false|true
Save Spare PartsVariable

Skip saving or displaying spare parts

Ziel
BK_SKIP_SPARE_PARTS
Standard
false|true
Random HomepageVariable

Shuffle the lists on the front page.

Ziel
BK_RANDOM
Standard
false|true
Show Grid FiltersVariable

Make the grid filters displayed by default, rather than collapsed.

Ziel
BK_SHOW_GRID_FILTERS
Standard
false|true
Show Grid SortVariable

Make the grid sort displayed by default, rather than collapsed.

Ziel
BK_SHOW_GRID_SORT
Standard
false|true
TimezoneVariable

Timezone of the application

Ziel
BK_TIMEZONE
Standard
UTC
Wert
UTC
App DataPath

Path to store app data

Ziel
/app/data
Standard
/mnt/user/appdata/brick_tracker/data
Wert
/mnt/user/appdata/brick_tracker/data
DebugVariable

Enable debug mode

Ziel
BK_DEBUG
Standard
false|true
Part Link Pattern (BrickLink)Variable

Pattern of the link to Bricklink for a part. Will be passed to Python .format(). Supports {part} and {color} parameters. BrickLink part numbers and color IDs are used when available.

Ziel
BK_BRICKLINK_LINK_PART_PATTERN
Standard
https://www.bricklink.com/v2/catalog/catalogitem.page?P={part}&C={color}
Wert
https://www.bricklink.com/v2/catalog/catalogitem.page?P={number}
Part Link PatternVariable

Pattern of the link to Rebrickable for a part. Will be passed to Python .format()

Ziel
BK_REBRICKABLE_LINK_PART_PATTERN
Standard
https://rebrickable.com/parts/{number}/_/{color}
Wert
https://rebrickable.com/parts/{number}/_/{color}
Missing Part ImageVariable

Image to display when a part is missing

Ziel
BK_REBRICKABLE_IMAGE_NIL
Standard
https://rebrickable.com/static/img/nil.png
Wert
https://rebrickable.com/static/img/nil.png
Minifigure Link PatternVariable

Pattern of the link to Rebrickable for a minifigure. Will be passed to Python .format()

Ziel
BK_REBRICKABLE_LINK_MINIFIGURE_PATTERN
Standard
https://rebrickable.com/minifigs/{number}
Wert
https://rebrickable.com/minifigs/{number}
Missing Minifigure ImageVariable

Image to display when a minifigure is missing

Ziel
BK_REBRICKABLE_IMAGE_NIL_MINIFIGURE
Standard
https://rebrickable.com/static/img/nil_mf.jpg
Wert
https://rebrickable.com/static/img/nil_mf.jpg
Set Link PatternVariable

Pattern of the link to Rebrickable for a set. Will be passed to Python .format()

Ziel
BK_REBRICKABLE_LINK_SET_PATTERN
Standard
https://rebrickable.com/sets/{number}
Wert
https://rebrickable.com/sets/{number}
Themes URLVariable

URL to the themes.csv.gz on Rebrickable

Ziel
BK_THEMES_FILE_URL
Standard
https://cdn.rebrickable.com/media/downloads/themes.csv.gz
Wert
https://cdn.rebrickable.com/media/downloads/themes.csv.gz
Use Remote ImagesVariable

Use remote image rather than the locally stored ones. Also prevents downloading any image when adding sets.

Ziel
BK_USE_REMOTE_IMAGES
Standard
false|true
Timestamp FormatVariable

Format of the timestamp added to the database file when downloading it

Ziel
BK_DATABASE_TIMESTAMP_FORMAT
Standard
%Y-%m-%d-%H-%M-%S
Wert
%Y-%m-%d-%H-%M-%S
Datetime FormatVariable

Format of the timestamp for files on disk (instructions, themes)

Ziel
BK_FILE_DATETIME_FORMAT
Standard
%d/%m/%Y, %H:%M:%S
Wert
%d/%m/%Y, %H:%M:%S
Datetime FormatVariable

Format of the timestamp for purchase dates

Ziel
BK_PURCHASE_DATE_FORMAT
Standard
%d/%m/%Y
Wert
%d/%m/%Y
Purchase CurrencyVariable

Currency to use for purchases

Ziel
BK_PURCHASE_CURRENCY
Standard
Wert
Per-Page CountVariable

Default number of items per page displayed for big tables

Ziel
BK_DEFAULT_TABLE_PER_PAGE
Standard
25|10|50|100|500|1000
Wert
25
HostVariable

Host to bind to

Ziel
BK_HOST
Standard
0.0.0.0
Wert
0.0.0.0
PortVariable

Port to bind to

Ziel
BK_PORT
Standard
3333
Wert
3333
Disable Socket ThreadingVariable

Disable threading on the task executed by the socket. Useful for debugging.

Ziel
BK_NO_THREADED_SOCKET
Standard
false|true
Socket NameVariable

Namespace of the Socket.IO socket

Ziel
BK_SOCKET_NAMESPACE
Standard
bricksocket
Wert
bricksocket
Socket PathVariable

Path of the Socket.IO socket

Ziel
BK_SOCKET_PATH
Standard
/bricksocket/
Wert
/bricksocket/
Independent AccordionsVariable

Each accordion can be opened independently

Ziel
BK_INDEPENDENT_ACCORDIONS
Standard
false|true
Rebrickable API Page SizeVariable

The amount of items to retrieve per Rebrickable API call.

Ziel
BK_REBRICKABLE_PAGE_SIZE
Standard
100
Wert
100
Rebrickable API User AgentVariable

User agent to use when making requests to Rebrickable. This is used to prevent being rate limited.

Ziel
BK_REBRICKABLE_USER_AGENT
Standard
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
Wert
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
Minifigure OrderVariable

Change the default order of minifigures.

Ziel
BK_MINIFIGURES_DEFAULT_ORDER
Standard
rebrickable_minifigures name ASC
Wert
rebrickable_minifigures name ASC
Parts OrderVariable

Change the default order of parts.

Ziel
BK_PARTS_DEFAULT_ORDER
Standard
rebrickable_parts.name ASC, rebrickable_parts.color_name ASC, bricktracker_parts.spare ASC
Wert
rebrickable_parts.name ASC, rebrickable_parts.color_name ASC, bricktracker_parts.spare ASC
Sets OrderVariable

Change the default order of sets.

Ziel
BK_SETS_DEFAULT_ORDER
Standard
rebrickable_sets.year ASC
Wert
rebrickable_sets.year ASC
Wishlist OrderVariable

Change the default order of wishlist.

Ziel
BK_WISHES_DEFAULT_ORDER
Standard
bricktracker_wishes.set DESC
Wert
bricktracker_wishes.set DESC
Purchase Location OrderVariable

Change the default order of purchase locations.

Ziel
BK_PURCHASE_LOCATION_DEFAULT_ORDER
Standard
bricktracker_metadata_purchase_locations.name ASC
Wert
bricktracker_metadata_purchase_locations.name ASC
Storage OrderVariable

Change the default order of storages

Ziel
BK_STORAGE_DEFAULT_ORDER
Standard
bricktracker_metadata_storages.name ASC
Wert
bricktracker_metadata_storages.name ASC
Retired Sets ListVariable

URL to the unofficial retired sets list on Google Sheets

Ziel
BK_RETIRED_SETS_FILE_URL
Standard
https://docs.google.com/spreadsheets/d/1rlYfEXtNKxUOZt2Mfv0H17DvK7bj6Pe0CuYwq6ay8WA/gviz/tq?tqx=out:csv&sheet=Sorted%20by%20Retirement%20Date
Wert
https://docs.google.com/spreadsheets/d/1rlYfEXtNKxUOZt2Mfv0H17DvK7bj6Pe0CuYwq6ay8WA/gviz/tq?tqx=out:csv&sheet=Sorted%20by%20Retirement%20Date
Internal Database PathVariable

Path to the SQLite database inside the container. Not recommended to change.

Ziel
BK_DATABASE_PATH
Standard
data/app.db
Wert
data/app.db
Internal Minifigures PathVariable

Name of the minifigures folder inside the container. Not recommended to change.

Ziel
BK_MINIFIGURES_FOLDER
Standard
minifigures
Wert
minifigures
Internal Instructions PathVariable

Name of the instructions folder inside the container. Not recommended to change.

Ziel
BK_INSTRUCTIONS_FOLDER
Standard
instructions
Wert
instructions
Internal Parts PathVariable

Name of the parts folder inside the container. Not recommended to change.

Ziel
BK_PARTS_FOLDER
Standard
parts
Wert
parts
Internal Sets PathVariable

Name of the sets folder inside the container. Not recommended to change.

Ziel
BK_SETS_FOLDER
Standard
sets
Wert
sets
Internal Retired Sets PathVariable

Path to the retired sets CSV file inside the container. Not recommended to change.

Ziel
BK_RETIRED_SETS_PATH
Standard
data/retired_sets.csv
Wert
data/retired_sets.csv
Internal Themes PathVariable

Path to the themes CSV file inside the container. Not recommended to change.

Ziel
BK_THEMES_PATH
Standard
data/themes.csv
Wert
data/themes.csv

Einzelheiten

Repository
gitea.baerentsen.space/frederikbaerentsen/bricktracker:latest
Zuletzt aktualisiert2026-06-01
Erstmals gesehen2024-12-27

Führen Sie BrickTracker auf Unraid aus.

BrickTracker ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.