From b6334550718001599a6dee322b67610e33c0b0da Mon Sep 17 00:00:00 2001 From: 9qeklajc Date: Tue, 5 May 2026 22:15:13 +0200 Subject: [PATCH 1/2] use full docker image for ghci --- .github/workflows/container.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index a93976f9..ca31c97d 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -37,6 +37,7 @@ jobs: uses: docker/build-push-action@v4 with: context: . + file: Dockerfile.full push: true build-args: | GIT_COMMIT=${{ steps.gitmeta.outputs.sha }} From 10969e07190ed59ed464a5472ea7277cba6186f6 Mon Sep 17 00:00:00 2001 From: 9qeklajc Date: Tue, 5 May 2026 22:34:41 +0200 Subject: [PATCH 2/2] update deployment --- docs/provider/deployment.md | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/docs/provider/deployment.md b/docs/provider/deployment.md index e1df11e8..5a3a2899 100644 --- a/docs/provider/deployment.md +++ b/docs/provider/deployment.md @@ -2,6 +2,57 @@ Production deployment guide for Routstr Provider nodes. +## All-in-One Docker Image (Preferred) + +The easiest way to deploy Routstr is using the all-in-one Docker image from Docker Hub, which includes both the FastAPI backend and the Next.js admin dashboard in a single container. + +### Quick Start + +```bash +docker run -d \ + --name routstr \ + -p 8000:8000 \ + -v routstr-data:/app/data \ + -e DATABASE_URL="sqlite:////app/data/routstr.db" \ + 9qeklajc/routstr:latest +``` + +Access your node: +- **API & Admin Dashboard**: http://localhost:8000 + +### Docker Compose Setup + +Create `docker-compose.yml`: + +```yaml +version: '3.8' + +services: + routstr: + image: 9qeklajc/routstr:latest + container_name: routstr + restart: unless-stopped + ports: + - "8000:8000" + volumes: + - routstr-data:/app/data + environment: + DATABASE_URL: "sqlite:////app/data/routstr.db" + ADMIN_KEY: "your-secure-admin-key" + LOG_LEVEL: "info" + +volumes: + routstr-data: +``` + +Start it: + +```bash +docker compose up -d +``` + +--- + ## Docker Compose (Recommended) For production, use Docker Compose with persistent storage and optional Tor support.