{"id":51349786,"url":"https://github.com/simplesuite/simplesuite-selfhost","last_synced_at":"2026-07-02T15:06:11.756Z","repository":{"id":359656318,"uuid":"1244589937","full_name":"simplesuite/simplesuite-selfhost","owner":"simplesuite","description":"Deploy your own simpleSuite backend and frontends with Docker Compose. Open-source, self-hostable, and privacy-first.","archived":false,"fork":false,"pushed_at":"2026-07-01T19:55:01.000Z","size":115,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-01T21:27:21.807Z","etag":null,"topics":["backend","database","deployment","devops","docker","docker-compose","homelab","infrastructure","open-source","postgres","privacy","self-hosted","supabase"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplesuite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"simplesuite","thanks_dev":null,"custom":null}},"created_at":"2026-05-20T12:08:39.000Z","updated_at":"2026-06-19T13:59:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/simplesuite/simplesuite-selfhost","commit_stats":null,"previous_names":["simplebudgets/simplebudget-selfhost","simplesuite/simplebudget-selfhost","simplesuite/simplesuite-selfhost"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/simplesuite/simplesuite-selfhost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesuite%2Fsimplesuite-selfhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesuite%2Fsimplesuite-selfhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesuite%2Fsimplesuite-selfhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesuite%2Fsimplesuite-selfhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplesuite","download_url":"https://codeload.github.com/simplesuite/simplesuite-selfhost/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesuite%2Fsimplesuite-selfhost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35052036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","database","deployment","devops","docker","docker-compose","homelab","infrastructure","open-source","postgres","privacy","self-hosted","supabase"],"created_at":"2026-07-02T15:06:11.190Z","updated_at":"2026-07-02T15:06:11.747Z","avatar_url":"https://github.com/simplesuite.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/simplesuite"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg width=\"250\" height=\"250\" alt=\"simpleSuite logo\" src=\"https://github.com/user-attachments/assets/753aa8a3-3b44-41e4-af7a-e3dc8cd33e7f\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003esimpleSuite — Self-Hosting\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Deploy your own simpleSuite backend and frontends with Docker Compose. Open-source, self-hostable, and privacy-first.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/simplesuite/simplesuite-selfhost/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-AGPL--3.0-blue\" alt=\"License\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/simplesuite/simplesuite-selfhost/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/simplesuite/simplesuite-selfhost\" alt=\"Stars\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/simplesuite/simplesuite-selfhost/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/simplesuite/simplesuite-selfhost\" alt=\"Issues\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## What is this?\n\nThis repo contains everything needed to self-host the simpleSuite ecosystem — a free, open-source alternative to hosted productivity and budgeting apps. Run your own Supabase-compatible backend (and optionally the frontends) on your own hardware with a single `docker compose up`.\n\n\u003e **Two deployment modes:**\n\u003e - **Backend-only** — Self-host the database and API. Use the hosted frontends at [budget.simplesuite.dev](https://budget.simplesuite.dev) or [tracker.simplesuite.dev](https://tracker.simplesuite.dev).\n\u003e - **Full stack** — Self-host everything, including the frontend served via Caddy.\n\n---\n\n## An Open-Source Alternative To\n\n- Supabase Cloud (managed)\n- Firebase\n- Appwrite\n- PocketBase\n- Hosted YNAB / Todoist / Notion backends\n\n## Supported Apps\n\n| App | Frontend Repo | Hosted URL |\n|-----|---------------|------------|\n| simpleBudget | [simplesuite/simplebudget](https://github.com/simplesuite/simplebudget) | [budget.simplesuite.dev](https://budget.simplesuite.dev) |\n| simpleTracker | [simplesuite/simpletracker](https://github.com/simplesuite/simpletracker) | [tracker.simplesuite.dev](https://tracker.simplesuite.dev) |\n\nBoth apps share the same Supabase backend. A single self-hosted instance supports both.\n\n---\n\n## Quick Start\n\n```bash\n# 1. Clone this repo\ngit clone https://github.com/simplesuite/simplesuite-selfhost.git\ncd simplesuite-selfhost\n\n# 2. Create and populate your environment file\ncp deploy/.env.example deploy/.env\ncd deploy \u0026\u0026 bash scripts/generate-secrets.sh \u0026\u0026 cd ..\n\n# 3. Start the backend\ndocker compose -f deploy/compose.yml up -d\n\n# 4. (Optional) Start with a frontend included\n#    Set FRONTEND_APP in deploy/.env to: simplebudget or simpletracker\ndocker compose -f deploy/compose.yml -f deploy/compose.frontend.yml up -d\n```\n\nThe API gateway will be available at **http://localhost:8000**.  \nThe frontend (if enabled) will be at **http://localhost:8080**.\n\n---\n\n## Prerequisites\n\n| Requirement | Notes |\n|-------------|-------|\n| [Docker](https://docs.docker.com/get-docker/) + Compose v2 | `docker compose version` should return 2.x+ |\n| Bash shell | Git Bash on Windows; native on macOS/Linux |\n| `openssl`, `base64` | Required by the secret generator script |\n\n\u003e **Windows users:** Run all `bash` commands from Git Bash, not PowerShell or CMD.\n\n---\n\n## Backend-Only Setup\n\nRun your own Supabase-compatible backend while using the hosted frontends.\n\n```bash\ncp deploy/.env.example deploy/.env\ncd deploy \u0026\u0026 bash scripts/generate-secrets.sh \u0026\u0026 cd ..\ndocker compose -f deploy/compose.yml up -d\n```\n\nVerify everything is healthy:\n\n```bash\ndocker compose -f deploy/compose.yml ps\n```\n\nThen open the hosted frontend and use the **Config Backend** page to enter:\n- **URL:** `http://localhost:8000` (or your server's address)\n- **Anon Key:** The `ANON_KEY` value from `deploy/.env`\n\nThis works for both simpleBudget and simpleTracker — they share the same backend.\n\n---\n\n## Full Self-Hosting\n\nRun the entire stack — backend and frontend — on your own machine.\n\n```bash\ncp deploy/.env.example deploy/.env\ncd deploy \u0026\u0026 bash scripts/generate-secrets.sh \u0026\u0026 cd ..\n\n# Edit deploy/.env to set which app to deploy:\n#   FRONTEND_APP=simplebudget   (default)\n#   FRONTEND_APP=simpletracker\n\ndocker compose -f deploy/compose.yml -f deploy/compose.frontend.yml up -d\n```\n\nOpen **http://localhost:8080** in your browser.\n\nThe frontend container clones the latest source from the selected app's repo, builds it, and serves it via Caddy. The `config.js` is auto-generated from your `.env` values at container startup — no manual configuration needed.\n\n### Hosting Both Frontends\n\nTo self-host both apps simultaneously, use the all-frontends compose file:\n\n```bash\ndocker compose -f deploy/compose.yml -f deploy/compose.allfrontends.yml up -d\n```\n\nThis starts:\n- simpleBudget at **http://localhost:8080** (configurable via `SIMPLEBUDGET_PORT`)\n- simpleTracker at **http://localhost:8081** (configurable via `SIMPLETRACKER_PORT`)\n\n---\n\n## Environment Variables\n\nAll config lives in `deploy/.env`. Run `generate-secrets.sh` to auto-fill secrets.\n\n| Variable | Default | Scope | Description |\n|----------|---------|-------|-------------|\n| `SUPABASE_PUBLIC_URL` | `http://localhost:8000` | Public | Kong API gateway URL (browser-accessible) |\n| `ANON_KEY` | *(generated)* | Public | Browser-safe JWT for unauthenticated API access |\n| `SERVICE_ROLE_KEY` | *(generated)* | **Private** | Elevated JWT — bypasses RLS |\n| `JWT_SECRET` | *(generated)* | **Private** | Signs all JWTs |\n| `POSTGRES_PASSWORD` | *(generated)* | **Private** | Database password |\n| `DASHBOARD_USERNAME` | `admin` | Optional | Studio dashboard username |\n| `DASHBOARD_PASSWORD` | *(generated)* | Optional | Studio dashboard password |\n| `FRONTEND_APP` | `simplebudget` | Frontend | Which app to build: `simplebudget` or `simpletracker` |\n| `FRONTEND_PORT` | `8080` | Frontend | Port for single-app mode (`compose.frontend.yml`) |\n| `SIMPLEBUDGET_PORT` | `8080` | Frontend | simpleBudget port for both-apps mode (`compose.allfrontends.yml`) |\n| `SIMPLETRACKER_PORT` | `8081` | Frontend | simpleTracker port for both-apps mode (`compose.allfrontends.yml`) |\n\n---\n\n## Security\n\n| Safe for browsers | Never expose |\n|-------------------|--------------|\n| `SUPABASE_PUBLIC_URL` | `SERVICE_ROLE_KEY` |\n| `ANON_KEY` | `JWT_SECRET` |\n| | `POSTGRES_PASSWORD` |\n\n- `deploy/.env` is in `.gitignore` — never commit it.\n- The frontend container only receives `SUPABASE_PUBLIC_URL` and `ANON_KEY`.\n\n---\n\n## Database Access\n\nConnect with pgAdmin or any Postgres client:\n\n| Setting | Value |\n|---------|-------|\n| Host | `localhost` |\n| Port | `5432` |\n| Database | `postgres` |\n| Username | `supabase_admin` |\n| Password | Your `POSTGRES_PASSWORD` |\n\n---\n\n## Updating\n\n```bash\ngit pull origin main\n\n# Backend-only\ndocker compose -f deploy/compose.yml down\ndocker compose -f deploy/compose.yml up -d\n\n# Full stack (rebuilds frontend with latest source)\ndocker compose -f deploy/compose.yml -f deploy/compose.frontend.yml down\ndocker compose -f deploy/compose.yml -f deploy/compose.frontend.yml up -d --build\n```\n\nMigrations run automatically on every startup.\n\n---\n\n## Remote Access with Tailscale\n\nThe simplest way to access your instance from other devices — no port forwarding, no reverse proxy, automatic HTTPS.\n\n```bash\ntailscale serve 8000          # Expose API gateway\ntailscale serve --https 8080  # Expose frontend\n```\n\nUpdate `SUPABASE_PUBLIC_URL` in `deploy/.env` to your Tailscale URL and restart.\n\n---\n\n## Troubleshooting\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003ePostgres won't start\u003c/strong\u003e\u003c/summary\u003e\n\n```bash\ndocker compose -f deploy/compose.yml logs postgres\n```\nEnsure `POSTGRES_PASSWORD` is set. To reset completely:\n```bash\ndocker compose -f deploy/compose.yml down -v\ndocker compose -f deploy/compose.yml up -d\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eMigration errors\u003c/strong\u003e\u003c/summary\u003e\n\n```bash\ndocker compose -f deploy/compose.yml logs migrations\n```\nTo re-run from scratch (destroys data):\n```bash\ndocker compose -f deploy/compose.yml down -v\ndocker compose -f deploy/compose.yml up -d\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eGoTrue (auth) fails\u003c/strong\u003e\u003c/summary\u003e\n\n```bash\ndocker compose -f deploy/compose.yml logs gotrue\n```\nUsually caused by role passwords not being set. Fix with a full reset:\n```bash\ndocker compose -f deploy/compose.yml down -v\ndocker compose -f deploy/compose.yml up -d\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eCORS errors in browser\u003c/strong\u003e\u003c/summary\u003e\n\nHandled by the Kong CORS plugin in `deploy/kong.yml`. If a header is blocked, add it to the `headers` list and restart:\n```bash\ndocker compose -f deploy/compose.yml restart kong\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eComplete reset\u003c/strong\u003e\u003c/summary\u003e\n\n```bash\ndocker compose -f deploy/compose.yml down -v\nrm deploy/.env\ncp deploy/.env.example deploy/.env\ncd deploy \u0026\u0026 bash scripts/generate-secrets.sh \u0026\u0026 cd ..\ndocker compose -f deploy/compose.yml up -d\n```\n\u003c/details\u003e\n\n---\n\n## Architecture\n\n```\n                    ┌─────────────────────────────────────┐\n                    │          Docker Compose              │\n                    │                                     │\n Browser ──────────►│  Kong :8000 (API Gateway)           │\n                    │    ├── /rest/v1/* → PostgREST :3000  │\n                    │    └── /auth/v1/* → GoTrue :9999     │\n                    │                                     │\n                    │  Postgres :5432                      │\n                    │  Migrations (runs once at startup)   │\n                    │  Frontend :8080 (optional, Caddy)    │\n                    └─────────────────────────────────────┘\n```\n\n---\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the [GNU AGPL v3](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplesuite%2Fsimplesuite-selfhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplesuite%2Fsimplesuite-selfhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplesuite%2Fsimplesuite-selfhost/lists"}