docker-compose.yml
Rama main · réplica de lectura del repositorio original.
# Self-hosted HarnessRouter.
#
# 1. cp .env.example .env and put YOUR provider key in it
# 2. docker compose up -d
# 3. open http://localhost:3000
#
# One container, one volume. No external services.
services:
harnessrouter:
image: harnessrouter/harnessrouter:latest
# Use this instead of `image:` to build locally:
# build: .
ports:
# This machine only. To reach it from elsewhere, put it behind TLS and a password you chose
# (see docs/self-hosting-guide.md) and change this to "3000:3000".
- "127.0.0.1:3000:3000"
env_file:
- .env
volumes:
# Everything durable lives here: SQLite databases, blobs, and the secret store.
- harnessrouter-data:/data
restart: unless-stopped
volumes:
harnessrouter-data: