Server Documentation

Overview

The Legacy 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.

Accessing the Software

[!IMPORTANT] Enterprise License Required The Legacy Gantt Sync server is proprietary software. You must have a valid Enterprise License to access the Docker image.

Installation via Secure Delivery

Because our software is designed for critical, often air-gapped environments, we distribute the server image directly as a secure archive bundle.

  1. Download the provided .tar.gz archive from your secure delivery link.
  2. Load the image directly into your Docker daemon:
docker load -i legacy_gantt_server_5.0.0.tar.gz
  1. Verify the image is available:
docker images | grep legacy_gantt_server

Running the Server

To run the server, you need to provide the necessary configuration via environment variables.

docker run -d \
  -p 8080:8080 \
  -e JWT_SECRET="your-256-bit-secret" \
  -e SOLVER_API_KEY="your-solver-key" \
  -e DB_HOST="postgres" \
  -e DB_USER="gantt_user" \
  -e DB_PASS="secure_password" \
  -e REDIS_HOST="redis" \
  registry.legacy-automation.com/gantt-sync:latest

Configuration

The server is configured entirely through environment variables.

VariableRequiredDefaultDescription
JWT_SECRET-Secret key used for signing and verifying JWT tokens.
SOLVER_API_KEY-API key for the linear programming solver service.
DB_HOST-localhostHostname of the PostgreSQL database.
DB_PORT-5432Port of the PostgreSQL database.
DB_NAME-legacy_ganttName of the database to connect to.
DB_USER-Database username.
DB_PASS-Database password.
REDIS_HOST-localhostHostname of the Redis message bus.
REDIS_PORT-6379Port of the Redis message bus.
LEGACY_GANTT_SYNC_PORT-8080Port the server will listen on.
SUPERUSER_USERNAME--Username for the initial superuser account.
SUPERUSER_PASSWORD--Password for the initial superuser account.

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