Run a local instance with Docker Compose

November 21, 2023 ยท View on GitHub

Network Next

Run a local instance with Docker Compose

You can run a Network Next test environment locally with docker compose on any OS. This lets you quickly get a test instance of the whole system up and running locally, which you can interact with via a web browser.

  1. Install Docker from http://docker.com

  2. Change into the directory where you cloned the source

    cd ~/next

  3. Build the system

    docker compose build

  4. Bring the system up

    docker compose up

  5. View the portal

Navigate to the network next portal at http://127.0.0.1:8080

It will take a few minutes for the system to fully initialize. Once everything has started up, you should see something like this:

image

Congratulations! Network Next up is up and running in docker!

  1. Take the system down

    docker compose down

Next step: setup your local machine for development.