Skip to content

Install manually with Docker ​

Use this guide if you prefer to run each Docker command yourself instead of using the installer. You need Docker Engine (Linux) or Docker Desktop (macOS). Everything else is included in the image.

1. Build the image ​

From a copy of the Nimbot source code, run:

sh
docker build -f infrastructure/docker/nimbot.Dockerfile -t nimbot:local .

2. Create the settings file ​

Create a file named .env next to the source folder:

dotenv
PANEL_URL=http://localhost:3000
TASK_TIMEOUT_SECONDS=600

Then run chmod 600 .env so only you can read it. You can leave the password out and create it from the browser in step 4.

3. Start Nimbot ​

Create a data volume and start the container:

sh
docker volume create nimbot-data
docker run -d --init --name nimbot --restart unless-stopped --stop-timeout 30 \
  --env-file .env -p 127.0.0.1:3000:3000 \
  --mount type=volume,source=nimbot-data,target=/data nimbot:local

All your data (agents, files, conversations, settings) is stored in the nimbot-data volume.

4. Create your password ​

Get your private activation link:

sh
docker exec nimbot node apps/server/dist/setup-link.js

Open the link and choose your password. If a password already exists, the command prints the sign-in address instead. After a restart, run the command again to get a fresh link.

Nimbot runs on a remote server?

Open an SSH tunnel first, then open the link on your own computer:

sh
ssh -L 3000:127.0.0.1:3000 YOUR_USER@YOUR_SERVER

Next step: create your first agent.

Good to know ​

  • Only the panel is reachable from outside the container, and only from this computer by default. To reach it from elsewhere, see Use your own domain.
  • To run a second, separate installation, use a different container name, volume name, and port. Never share one data volume between two running installations.
  • If you use a folder (bind mount) instead of a volume, make sure user ID 1000 can write to it.
  • Don't override SERVER_STATE_DIR or PANEL_HOST inside the container.

See the configuration reference for every setting.