feat(deploy): portainer stack template for federation test instances [DEPLOY-02] #485
Reference in New Issue
Block a user
Delete Branch "feat/federation-deploy-stack-template"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
deploy/portainer/federated-test.stack.yml: a Docker Swarm-compatible Compose file (version 3.9) for Portainer that boots a federated-tier Mosaic gateway alongside Postgres 17 (pgvector) and Valkey 8.fed-v0.1.0-m1(sha256:9b72e202a...) per the immutable-image policy verified in DEPLOY-01.STACK_NAMEandHOST_FQDNso the same template deploys bothmos-test-1.woltje.com(DEPLOY-03) andmos-test-2.woltje.com(DEPLOY-04).deploy/portainer/README.mdwith deployment instructions, required env vars table, external resource prerequisites, and per-instance mapping.Changes
deploy/portainer/federated-test.stack.yml— Swarm stack template (new)deploy/portainer/README.md— operator guide (new)Required env vars per stack
STACK_NAMEmos-test-1)HOST_FQDNmos-test-1.woltje.com)POSTGRES_PASSWORDBETTER_AUTH_SECRETBETTER_AUTH_URLNotes
traefik-publicoverlay network andletsencryptcert resolver must exist on the Swarm before deploying.Test plan
mos-test-1.woltje.comvia Portainer (DEPLOY-03)mos-test-2.woltje.comvia Portainer (DEPLOY-04)GET /healthreturns 200 on both instances🤖 Generated with Claude Code
560e33e313toc7d0663de6