Install on your computer with Docker Desktop
Since 1.0.0.
For a Windows or Mac computer, with no Git and no server. You need about 15 minutes, an internet connection and a few GB of free disk space for Docker Desktop and Brick Work. Brick Work then runs on this computer only, in your browser.
Tested on macOS with Docker Desktop 4.75. On Windows the steps are the same, typed in PowerShell; a test on a real Windows computer is not recorded yet.
1. Install Docker Desktop
Docker Desktop runs Brick Work in a container, a sealed box with everything it needs.
- Download Docker Desktop from docker.com and install it. On Windows, accept the WSL 2 option the installer offers.
- Start Docker Desktop and wait until it says the engine is running.
Docker Desktop is free for personal use; check its terms if you use it at work.
2. Make a Brick Work folder
- Make a folder called
brick-work, for example in your Documents folder. - Inside it, make a folder called
data. Everything Brick Work keeps (your collection, photos, the catalogue) goes intodata. This is the folder you back up.
3. Add two files
compose.yamltells Docker which Brick Work to run. Open compose.yaml of release 1.0.1, save it with Save page as into thebrick-workfolder, and check that the name is exactlycompose.yaml, notcompose.yaml.txt.-
data/.envholds your settings. Make a plain text file in thedatafolder with this one line, using a password of your own:BW_AUTHENTICATION_PASSWORD=choose-a-long-passwordSave it with the name
.env(a dot, thenenv, no other ending). In Windows Notepad, choose Save as type: All files, or Windows adds.txt. On a Mac, TextEdit needs Format → Make Plain Text first; Finder hides names that begin with a dot, and Cmd+Shift+. shows them.
The folder now looks like this:
brick-work/
compose.yaml
data/
.env
4. Start Brick Work
Open a terminal in the brick-work folder: on Windows, Terminal or PowerShell (in File Explorer, right-click the folder and choose Open in Terminal); on a Mac, Terminal (right-click the folder in Finder, Services → New Terminal at Folder). Then type these two lines, one at a time:
docker compose pull
docker compose up -d
The first line downloads Brick Work (under 1 GB, once). The second starts it in the background; on first start, the container creates your empty collection automatically.
5. Open it
Open http://localhost:3333 in your browser and sign in with your password. The first page offers Download the catalogue, which needs no key; then add a set by its number and check its parts. If you already track your sets elsewhere, bring them in.
Brick Work keeps running while Docker Desktop runs. To stop it, type docker compose down in the same folder; docker compose up -d starts it again.
When something goes wrong
docker: command not foundor cannot connect to the Docker daemon: Docker Desktop is not running. Start it and wait for the engine.no configuration file provided: the terminal is not in thebrick-workfolder, or the file is calledcompose.yaml.txt.- The server refuses to start, asking for a password:
data/.envis missing, misnamed (.env.txt), or has noBW_AUTHENTICATION_PASSWORD=line. - Port 3333 is in use: another program uses it. In
compose.yaml, change"127.0.0.1:3333:3333"to"127.0.0.1:3334:3333"and openhttp://localhost:3334. - Logs:
docker compose logs brickworkshows what Brick Work printed.
Next steps
- Back up and restore: copy the
datafolder regularly. - Upgrade Brick Work: a new release means a new
compose.yaml, thendocker compose pullanddocker compose up -d. - Reaching Brick Work from your phone, or installing it on the Home Screen, needs it on your network with HTTPS: see Standalone installation with Docker in the README.