feat: bundle XTM One in the default stack#130
Open
azubiolo-filigran wants to merge 3 commits into
Open
Conversation
Adds XTM One alongside OpenAEV in the default compose: - New pgsql-copilot service (pgvector/pgvector:pg17) for XTM One's vector store, with dedicated credentials (kept separate from the OpenAEV pg cluster). - New redis service (required by XTM One for queues, cache, websockets) \u2014 OpenAEV itself does not need it. - New xtm-one + xtm-one-worker services on port 4000, sharing the existing minio. - PLATFORM_REGISTRATION_TOKEN shared secret plumbed into the openaev service (OPENAEV_XTM_ONE_URL / OPENAEV_XTM_ONE_TOKEN) and into XTM One (OPENAEV_* federation env vars). - .env.sample documents the new XTM ONE block. Refs XTM-One-Platform/xtm-one#1011
- Set OPENAEV_BASE-URL to internal hostname (http://openaev:8080) - Set BASE_URL to internal hostname (http://xtm-one:4000) - Add build directives for xtm-one and xtm-one-worker (context: ../xtm-one) - Align XTM_ONE_ADMIN_EMAIL with OPENAEV_ADMIN_EMAIL in .env.sample
- Switch healthcheck from /api/health to /actuator/health/ping (the custom endpoint returns 503 even when the platform is operational) - Add SPRING_ELASTICSEARCH_URIS so Spring's health indicator connects to the correct ES instance - Disable mail health indicator (no real SMTP in dev stack) - Add start_period=120s to give OpenAEV time to boot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing: OpenAEV + XTM One Docker Setup
Steps to reproduce
Credentials
admin@openaev.iochangemeadmin@openaev.iochangemeKey fixes in this commit
OPENAEV_BASE-URL=http://openaev:8080— JWT audience validation must match the internal hostnameBASE_URL=http://xtm-one:4000— JWT issuer + JWKS fetch must use internal hostnameXTM_ONE_ADMIN_EMAIL=admin@openaev.io— must match OpenAEV admin so JWT email resolvesbuild: context: ../xtm-onefor local builds without registry accessDependency
Requires XTM-One-Platform/xtm-one#1070 (
fix/platform-registration-api-url-override) — addsOPENAEV_API_URLenv var support so the registration stores the internal Docker URL instead of the platform-reported external URL.Status