Skip to content

Txlog Server Documentation

The Txlog Server is the core component of the platform, responsible for managing authentication, persisting transaction logs, and exposing the REST API used by agents and user interfaces. It orchestrates communication between services, ensuring data integrity and enforcing configured retention and security policies.

TL;DR

sql
-- Create the database
CREATE DATABASE txlog;
bash
# Run the server
docker run -d --name txlog-server \
  -e PGSQL_HOST=db.example.com \
  -e PGSQL_USER=txlog \
  -e PGSQL_PASSWORD=txlog \
  -e PGSQL_DB=txlog \
  -p 8080:8080 \
  ghcr.io/txlog/server:main

1. Tutorials

Learning-oriented lessons for beginners.

2. How-to Guides

Task-oriented guides for specific goals.

Authentication & Security

Operations

Development

3. Reference

Information-oriented technical descriptions.

System

LDAP Specifics

4. Explanation

Understanding-oriented background knowledge.

Architecture

Deep Dives

5. API Documentation

When the server is running, interactive API documentation is available at: http://localhost:8080/swagger/index.html

  • Source: docs/docs.go (Generated from code comments)
  • Update: Run make doc to regenerate.