Overview
The Gantt Sync server is a high-performance, standalone binary that facilitates real-time synchronization between clients. It uses a Hybrid Logical Clock (HLC) and Conflict-free Replicated Data Types (CRDTs) to ensure strong eventual consistency across unreliable networks.
Unlike SaaS-based Gantt solutions, Gantt Sync never "phones home." Your data stays within your perimeter, satisfying strict data sovereignty requirements.
Accessing the Software
The complete ecosystem is open source under the MIT License, including the Dart/Shelf production server, Rust scheduling solver, administrative app, and Flutter widgets. There are no license keys, trial periods, or separate commercial editions.
The Rust backend scheduler is experimental: schedule optimization is not implemented and requests return an explicit error. Interactive chart editing and synchronization remain available.
Clone the complete ecosystem, including its package repositories:
git clone --recurse-submodules https://github.com/barneysspeedshop/legacy_gantt_sync.git
cd legacy_gantt_sync
The repository README covers local setup and deployment. Build the server image from the repository root:
docker build -t legacy_gantt_server:latest .
The Go reference server remains available for protocol testing. It uses mock authentication and in-memory storage; deploy the production server when authentication and persistence are needed.
Running the Server
Set unique JWT_SECRET and DB_PASS values in your environment before running the server. Connect it to operator-managed PostgreSQL and Redis instances.
docker run -d \
-p 8080:8080 \
-e JWT_SECRET \
-e DB_HOST="postgres" \
-e DB_USER="gantt_user" \
-e DB_PASS \
-e REDIS_HOST="redis" \
legacy_gantt_server:latest
Configuration
The server is configured entirely through environment variables.
| Variable | Required | Default | Description |
|---|---|---|---|
JWT_SECRET | ✅ | - | Secret key used for signing and verifying JWT tokens. |
DB_HOST | - | localhost | Hostname of the PostgreSQL database. |
DB_PORT | - | 5432 | Port of the PostgreSQL database. |
DB_NAME | - | legacy_gantt | Name of the database to connect to. |
DB_USER | ✅ | - | Database username. |
DB_PASS | ✅ | - | Database password. |
REDIS_HOST | - | localhost | Hostname of the Redis message bus. |
REDIS_PORT | - | 6379 | Port of the Redis message bus. |
LEGACY_GANTT_SYNC_PORT | - | 8080 | Port the server will listen on. |
SUPERUSER_USERNAME | ✅ | - | Username for the initial superuser account. |
SUPERUSER_PASSWORD | ✅ | - | Password for the initial superuser account. |
Set unique initial superuser credentials for bootstrap. Admin API access uses role-authorized JWTs.
Health Check
The server exposes a health check endpoint at /health which returns 200 OK if the server is running.
curl http://localhost:8080/health