These steps describe the tested JetBrains Rider workflow.
- Open the TruthGate repository in Rider.
- Open Run | Edit Configurations.
- Add a Docker Compose configuration.
- Set the service to:
truthgate
- Set the Compose files, in order, to:
./compose.yaml
./compose.dev.yaml
Depending on Rider's field presentation, the combined value may appear as:
./compose.yaml; ./compose.dev.yaml;
The order matters. Production is the base; development is the override.
- Enable image build before startup.
- Run the configuration.
http://localhost:8080
From Rider's container logs, or:
docker compose \
-f compose.yaml \
-f compose.dev.yaml \
logs truthgateFind the generated admin password.
The repository is mounted at /workspace. The development entrypoint runs dotnet watch for:
/workspace/TruthGate-Web/TruthGate-Web/TruthGate-Web.csproj
NuGet package and HTTP caches use Docker volumes so normal rebuilds do not redownload everything.
Rider can attach to or launch within the development container depending on local configuration. The important invariant is that the Compose service, mounts, environment, and Kubo instance match the documented development appliance.
Stop IPFS Desktop or another Kubo daemon before using the default development setup. Swarm TCP and UDP port 4001 conflicts can prevent startup or produce misleading connectivity results.
Stop the stack, move the local data/ directory aside, and restart. Do not delete it unless losing the development identity, keys, pins, users, and configuration is intended.