Skip to content

Infra cluster config#8

Open
liviaUeno wants to merge 2 commits into
developfrom
infra-cluster-config
Open

Infra cluster config#8
liviaUeno wants to merge 2 commits into
developfrom
infra-cluster-config

Conversation

@liviaUeno

Copy link
Copy Markdown

Summary

Adds Kubernetes manifests and build tweaks to deploy the customized Element Web client to the cluster, alongside the existing Synapse/Postgres setup.

Changes

  • Add element.yaml (Deployment) and element-service.yaml (NodePort Service) to run the Element image in the cluster
  • Pin a fixed build version in scripts/docker-package.sh to avoid the git-based version lookup, which fails when the js-sdk is not a git checkout
  • Use config.sample.json as the baked-in config so the custom config ships in the image

How to run

  1. Build the image from the monorepo root:
    docker build -t element-grupos -f apps/web/Dockerfile .
  2. Load it into minikube: minikube image load element-grupos
  3. Apply the manifests: kubectl apply -f element.yaml -f element-service.yaml
  4. Port-forward and open http://localhost:8080

@liviaUeno liviaUeno requested a review from zZMathSP July 1, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant