Spin up Keep with docker-compose latest images
The easiest way to start keep is is with docker-compose:start.sh
- keep-backend - a fastapi service that as the API server.
- keep-frontend - a nextjs app that serves as Keep UI interface.
- keep-websocket-server - Soketi (a pusher compatible websocket server) for real time alerting.
Debugging Keep UI
The debug UI image uses the same production server as the regular image, with browser source maps and console output retained. TheRelease Debug UI Image
workflow publishes ghcr.io/keephq/keep-frontend:<version>-dev when the release
version changes on main. It can also be run manually with a release tag or
commit containing debug-image support.
To debug an existing deployment, replace only the frontend image with the
matching <version>-dev image. Keep its environment variables, ports, and
oauth2-proxy configuration, then reproduce the error with browser developer
tools open and JavaScript source maps enabled. This also works in Kubernetes
without running a local development server.
You can build the image yourself from the corresponding release checkout:
KEEP_INCLUDE_SOURCES is a build argument. Setting it only in a running
container cannot generate source maps or change the routes compiled by Next.js.
Source maps are included even when Sentry is disabled at build time. Debug images
serve frontend source code to browsers; switch back to the regular image after
debugging. Regular builds continue to block requests for source maps.
Reinstall Keep with the option to refresh from scratch
Caution: This usage context will refresh from the beginning and Keep’s data and settings will be erased. Even other containers on this host are also erased. So please consider when using the steps below.
For cases where you need to test many different options or simply want to reinstall Keep from scratch using docker compose without spending a lot of time, that is, without repeating the steps of installing docker, downloading the installer.. .. run the commands according to the previous instructions.
Follow these steps
Step1: Stop, Clear container, network, volume, image.
In the directory containing the docker compose file you downloaded, say/root/

