Files
homelab/active/podman_bricktracker/bricktracker.md
ducoterra 5184c84d50
All checks were successful
Podman DDNS Image / build-and-push-ddns (push) Successful in 33s
overhauls of most service docs
2025-07-22 18:29:07 -04:00

1.7 KiB

Brick Tracker

https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker/src/branch/master/docs/quickstart.md

Setup

  1. Copy the .env.sample from https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker/src/branch/master/.env.sample to .env

  2. Set the following:

    1. BK_AUTHENTICATION_PASSWORD
    2. BK_AUTHENTICATION_KEY
    3. BK_DATABASE_PATH
    4. BK_INSTRUCTIONS_FOLDER
    5. BK_MINIFIGURES_FOLDER
    6. BK_PARTS_FOLDER
    7. BK_REBRICKABLE_API_KEY
    8. BK_SETS_FOLDER
  3. Create the docker compose yaml

    services:
    bricktracker:
        container_name: BrickTracker
        restart: unless-stopped
        image: gitea.baerentsen.space/frederikbaerentsen/bricktracker:1.2.2
        ports:
        - "3333:3333"
        volumes:
        - ./data:/var/lib/bricktracker
        - ./static/instructions:/app/static/instructions
        - ./static/minifigures:/app/static/minifigures
        - ./static/parts:/app/static/parts
        - ./static/sets:/app/static/sets
        env_file: ".env"
    
  4. Start the service: docker compose up -d

Caddy

  1. Create the new DNS record for your website

  2. Create the Caddyfile at ./Caddyfile

    https://connors-legos.reeseapps.com:443 {
        reverse_proxy 127.0.0.1:3333
    }
    
  3. Create the Caddy compose.yaml

    services:
    caddy:
        image: caddy:<version>
        restart: unless-stopped
        ports:
        - "80:80"
        - "443:443"
        - "443:443/udp"
        volumes:
        - ./Caddyfile:/etc/caddy/Caddyfile
        - caddy_data:/data
        - caddy_config:/config
    
    volumes:
    caddy_data:
    caddy_config: