bunker-admin f34382ebdd chore(approach-c): Phase 0 initial template overlay + session handoff
This session shipped:
- Approach B end-to-end (commit 4a3d9d7): full rollout to all 7 tenants;
  marcelle E2E validated twice (121s + 100s).
- v2.10.2 surgical update applied to 6 remaining tenants.

This commit lands the kickoff for Approach C (template re-render path):

scripts/templates changes:
- docker-compose.yml.hbs.OLD-style-pre-approach-c: preserved old CCP
  template (Handlebars-heavy, dynamic container names, secrets rendered
  at template-time).
- docker-compose.yml.hbs: REWRITTEN as a near-mirror of canonical
  docker-compose.prod.yml. Minimal Handlebars overlay:
    - Header comment lists {{name}}, {{slug}}, {{composeProject}}.
    - 5 image refs: ${IMAGE_TAG:-latest} -> {{imageTag}}, so CCP can
      per-instance override once Phase 1 lands the Instance.imageTag column.
  All other variation flows through env-var substitution from tenant's
  .env. Container names are now hardcoded (matching prod), feature flags
  are deferred to COMPOSE_PROFILES gating (matching prod).

Why a rewrite: the old CCP template and prod compose used fundamentally
different conventions (dynamic vs hardcoded names, render-time vs
substitute-time secrets, Handlebars vs profiles gating). Sync-by-addition
couldn't reconcile them. The rewrite makes Approach C re-render safe for
the install.sh-installed fleet (marcelle, linda, pia and future).

docs/SESSION_HANDOFF_2026-05-21.md: full session handoff covering fleet
state, Approach B rollout, Approach C plan, and where to start next
session. force-added because /docs is gitignored (same precedent as
docs/SESSION_HANDOFF_2026-05-20.md from prior session).

Phase 0 remaining work (next session):
- Audit env.hbs against new compose env-var expectations
- Sync static config files (nginx/, configs/prometheus/, etc.)
- Build api/scripts/render-for-instance.ts harness
- Iterate template until rendered output is per-instance-only diff
  against marcelle/linda/pia actual compose.

Then Phases 1-6 per plan in subsequent sessions (~11-14 hours total).

Bunker Admin
2026-05-21 19:32:21 -06:00
2026-04-30 19:07:17 -06:00
2026-04-02 15:14:27 -06:00
2026-03-09 16:05:25 -06:00
2026-03-22 21:47:09 -06:00

Changemaker Lite

Changemaker Lite

A self-hosted campaign platform for community organizers who want to own their data.

Documentation · Website · Apache 2.0 License


Changemaker Lite consolidates advocacy campaigns, geographic mapping, volunteer canvassing, media management, newsletters, and administration into a single Docker Compose stack. One .env file, one command to start, everything under your control.

Admin Dashboard

Why Changemaker Lite?

Most campaign tools are SaaS platforms that lock you into monthly subscriptions, hold your data hostage, and disappear when funding dries up. Changemaker Lite is different:

  • Self-hosted -- runs on any machine with Docker. Your server, your data.
  • All-in-one -- replaces 5-10 separate tools with a single integrated platform.
  • Free and open source -- Apache 2.0 licensed. Fork it, modify it, make it yours.
  • Privacy-first -- no telemetry, no third-party analytics, no data leaving your server.

What's Inside

Advocacy Campaigns

Let supporters look up their elected representatives by postal code and send advocacy emails in a few clicks. Track responses, moderate a public response wall, and monitor email delivery.

Public Campaign Page

Campaign Management

Interactive Map & Canvassing

Import thousands of addresses, draw canvassing areas, schedule volunteer shifts, and track door-to-door visits with GPS. Volunteers get a full-screen mobile map with real-time location tracking and visit recording.

Public Map

Canvass Dashboard

Volunteer Portal

Volunteers get their own portal with shift sign-ups, canvassing assignments, activity tracking, a social calendar, and a friends system to stay connected with their team.

Volunteer Map

Volunteer Calendar

Upload campaign videos, manage metadata, schedule publishing, and share them through a public gallery. Includes GDPR-compliant analytics.

Media Library

Public Gallery

Landing Pages & Email Templates

Build campaign microsites with a drag-and-drop GrapesJS editor. Design email templates for consistent campaign communications.

Landing Page Builder

SMS Campaigns, Newsletters & More

Send SMS campaigns via an Android bridge, sync subscribers to Listmonk for newsletters, recognize volunteers on a Wall of Fame leaderboard, and monitor everything with built-in Prometheus + Grafana observability.

SMS Dashboard

Wall of Fame

Quick Start

Production (pre-built images)

# 1. One-command install: checks host ports, downloads tarball, runs config wizard
curl -fsSL https://gitea.bnkops.com/admin/changemaker.lite/raw/branch/main/scripts/install.sh | bash

# 2. Start services (first pull ~3 min + ~90s stabilization)
cd ~/changemaker.lite && docker compose up -d

# 3. Verify the install
bash scripts/test-deployment.sh --wait 60

The installer checks your host's port availability before extracting — no more half-started stacks from cockpit on :9090 or other surprises. The generated admin password is printed to stdout and saved to data/admin-credentials.txt (mode 0600). See Prerequisites for what you need lined up first.

Development (source)

git clone <repo-url> changemaker.lite
cd changemaker.lite

cp .env.example .env
# Edit .env -- set passwords, JWT secrets, admin credentials

docker compose up -d v2-postgres redis api admin
docker compose exec api npx prisma migrate deploy
docker compose exec api npx prisma db seed

Then open http://localhost:3000 and log in with the admin credentials from your .env.

Useful tools

bash scripts/validate-env.sh          # re-check .env + host ports
bash scripts/test-deployment.sh       # full deployment health sweep
bash scripts/pangolin-teardown.sh     # wipe tunnel org before reinstall (dry-run by default)
bash scripts/ccp-deregister.sh        # deregister from Changemaker Control Panel (dry-run by default)

Documentation

Full documentation is available at cmlite.org/docs/getting-started.

The docs site covers installation, configuration, all features, architecture details, production deployment with Pangolin tunnels, and troubleshooting. It is the authoritative and up-to-date reference for Changemaker Lite.

Architecture at a Glance

Layer Technology
API Express.js + Prisma + PostgreSQL 16
Media API Fastify + Prisma (shared DB)
Frontend React + Vite + Ant Design + Zustand
Reverse Proxy Nginx (subdomain routing)
Cache & Queue Redis + BullMQ
Newsletter Listmonk
Monitoring Prometheus + Grafana + Alertmanager
Tunneling Pangolin (self-hosted Cloudflare alternative)

The entire stack runs on Docker Compose. Enable optional modules (media, newsletters, SMS, monitoring) with feature flags in .env.

License

Apache License 2.0

AI Disclaimer

AI tools were used to assist in the creation of this project. All generated code has been reviewed. Users should test all functionality to ensure it meets their requirements.

Description
Changemaker-lite is the current active development branch of Changemaker, focused on streamlining core services. These improvements will be merged into the master branch once ready.
https://cmlite.org
Readme 121 MiB
2026-05-21 10:36:40 -06:00
Languages
HTML 48.3%
TypeScript 46.1%
Shell 2.5%
JavaScript 1.5%
CSS 0.6%
Other 0.9%