Deployment
Русский | English
Configuration for running the application with Docker Compose and Nginx.
docker/docker-compose.ymlstarts the core stack with PostgreSQL, Redis, SeaweedFS, and Kafka.docker/docker-compose.ml.ymlanddocker/docker-compose.monitoring.ymlrun ML and monitoring as separate projects.nginx/configures frontend serving and API proxying.docker/docker-compose.e2e.ymlis an overlay used only by the browser suite: it removes the frontend host port and adds the Playwright runner.docker/docker-compose.release.ymlanddocker/docker-compose.ml.release.ymlare overlays that name the release imageslincodex.invalid/<service>:<tag>and never pull them from a registry.scripts/contains the isolated stack smoke check, the browser E2E runner, andrelease_manifest.py, which builds, describes, and checks release images.edge/holds the public edge proxy: nginx and tunnel templates, certbot renewal hook, systemd drop-ins, and the scripts that render and check them.make -C deploy edge-configrenders the nginx configuration and runsnginx -tin a container; see the edge proxy runbook.
Dockerfiles live in service directories and .env.example at the repository root. From the root, make -C deploy config checks Compose and make -C deploy up starts the core stack after .env is prepared. Start monitoring separately with make -C deploy monitoring-up. make -C deploy test-e2e runs the Playwright suite against a throwaway stack under a unique project name and removes it afterwards; see TESTING.md.
make -C deploy release-build, release-smoke, and release-manifest build the release images with pinned base image digests, check them, and write the manifest to deploy/release/<tag>/, which Git ignores; make -C deploy release-manifest-verify compares running containers with the manifest, and make -C deploy release-clean removes the release images. See the release manifest.
See the deployment guide.