Lightweight instructions to run the dTITAN backend locally (Docker or dotnet).
- Docker & Docker Compose
- [OPTIONAL] .NET 9 SDK (for running the backend locally)
- Backend API: http://localhost:5101/api
- Backend WebSocket: ws://localhost:5102
- External WebSocket: ws://localhost:8083
- Mongo GUI (mongo-express): http://localhost:8090 (username
admin, passwordadmin) - Mongo DB shell / clients: mongodb://localhost:27017
This uses docker-compose.yml and will start:
backendexternal-websocketmongodbmongo-gui
Build from repository root run:
docker compose up --buildThis uses docker-compose.dev.yml and will start:
external-websocketmongodbmongo-gui
docker compose -f docker-compose.dev.yml up --build -dThen run the backend on your machine, connecting to the Docker services:
Run
./tmux-project.shfrom the repository root, this opens panes for the backend, simulator and a docker UI. This script requirestmuxandlazydocker, you can always edit it to not uselazydocker
cd dTITAN.Backend
dotnet run