Install TradeNote on Windows

Step-by-step guide to download, install, and self-host TradeNote on Windows

Recently, I installed TradeNote on Windows for a client.

TradeNote is an open-source trading journal that helps traders store, analyze, and review all their trades so they can become more consistent and profitable.

Installation on Linux or other Unix-based operating systems is pretty straightforward. However, on Windows, there are a few additional steps—especially if you’re not familiar with Unix-based environments.

Here’s how I install TradeNote on Windows.

Requirements

Make sure Docker Desktop is configured to use WSL 2 as its backend. It is enabled by default, but better make sure of it.

Installing TradeNote on Windows

We’re going to use Terminal (PowerShell) for these steps, although some parts can also be done from the UI.

1. Create a New Directory

First, create a new directory:

mkdir C:\TradeNote\

Then enter the directory:

cd C:\TradeNote\

2. Create a compose.yaml File

Create a new compose.yaml file using Notepad:

notepad.exe compose.yaml

Copy and paste the following content into your compose.yaml file:

name: tradenote
services:
  tradenote:
    image: eleventrading/tradenote
    container_name: tradenote_app
    ports:
      - 8080:8080
    environment:
      MONGO_URI: mongodb://tradenote:tradenote@mongo:27017/tradenote?authSource=admin
      TRADENOTE_DATABASE: tradenote
      APP_ID: 123456
      MASTER_KEY: 123456
      TRADENOTE_PORT: 8080
    networks:
      - tradenote_net

  mongo:
    image: mongo:latest
    container_name: tradenote_db
    volumes:
      - tradenote_db:/data/db
    ports:
      - 27017:27017
    environment:
      MONGO_INITDB_ROOT_USERNAME: tradenote
      MONGO_INITDB_ROOT_PASSWORD: tradenote
      MONGO_INITDB_DATABASE: tradenote
    networks:
      - tradenote_net

networks:
  tradenote_net:
    driver: bridge

volumes:
  tradenote_db:
    name: tradenote_db

Save the file and close Notepad.

3. Run TradeNote with Docker

Start the TradeNote services by running:

docker compose up -d

Docker will download the required images and start the containers in detached mode.

4. Access TradeNote

Once the command finishes, open your web browser and navigate to http://localhost:8080.

Follow the on-screen instructions to complete the TradeNote setup.

Video

Conclusion

That’s it. You now have TradeNote running locally on Windows using Docker.

As usual, if you have any questions or a better method, leave a comment below.

Thanks for reading, and see you next time!

References