Skip to content

Deployment

Terminal window
cd frontend
npm install
npm run build
cd ../backend
mvn -DskipTests package
cd ..
docker build -t super-kafka-manager:local .
Terminal window
docker run --rm -p 4040:4040 \
-v "$HOME/.super-kafka-manager:/data" \
super-kafka-manager:local

The API and frontend are available at http://localhost:4040/.

Terminal window
docker compose up --build

Compose starts the application and a development Kafka broker. Containers use kafka:29092; host tools use localhost:9092.

The same image can run below /platform/tools/kafka/:

location = /platform/tools/kafka { return 301 /platform/tools/kafka/; }
location /platform/tools/kafka/ {
proxy_pass http://super-kafka-manager:4040/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_cookie_path / /platform/tools/kafka/;
proxy_buffering off;
proxy_read_timeout 1h;
}

Keep the trailing slash on proxy_pass; do not set server.servlet.context-path or rebuild with a fixed Vite base.