TruthGate ships as one appliance containing TruthGate, Kubo, and the matching ipfs CLI.
- Docker Engine
- Docker Compose v2.24.4 or newer
- a Linux host for the documented production path
- TCP
80,443, and the selected swarm port - UDP on the selected swarm port
git clone https://github.com/magiccodingman/TruthGate-IPFS.git
cd TruthGate-IPFS
cp .env.example .envReview .env, especially the persistent host paths.
Pull and start:
docker compose pull
docker compose up -dFollow startup:
docker compose logs -f truthgateThe published container image contains the software. The repository supplies the supported Compose definition, example environment file, documentation, and local build context.
By default:
magiccodingman/truthgate-ipfs:stable
Use an exact version for a pinned deployment:
TRUTHGATE_IMAGE=magiccodingman/truthgate-ipfs:0.1.0docker compose up --build -dThis is useful when testing local source changes. Normal operators should pull a tested release.
docker compose ps
docker exec truthgate truthgate-kubo-statusThe container should report healthy after Kubo and TruthGate are ready.
The production service:
- uses a read-only root filesystem;
- enables
no-new-privileges; - runs managed processes as the non-root
truthgateuser; - places temporary data in bounded
tmpfsmounts; - binds Kubo RPC and gateway services to loopback;
- persists application and repository data outside the image.
Docker is a packaging and isolation layer, not a complete host-security policy. Keep Docker and the host patched, restrict administrative access, and back up persistent data.