Skip to content

Conversation

baszoetekouw
Copy link
Member

Most of the containers simply needed to switch to a newer version (that includes arm64 builds in the container images). Only for Mongo some work work was necessary: the bitnami container don't support arm64 (for bureaucratic reasons), so we switch to the official mongo images. That required some hackery to initialise the replication set, which the bitnami containers handled internally in the entrypoint scripts.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates container images and configuration to enable core support on arm64 platforms by switching to newer images and customizing the MongoDB service to handle replication set initialization. Key changes include:

  • Updating healthcheck parameters for MariaDB.
  • Switching the MongoDB container from a Bitnami image to the official mongo:7 image with custom replica set initialization in the healthcheck.
  • Upgrading several service images (mujina-idp, oidcplaygroundgui, oidcplaygroundserver, teamsgui, and teamserver) to use the latest tags.
Comments suppressed due to low confidence (1)

core/docker-compose.yml:69

  • Environment variable inconsistency detected: the replica set name is defined as 'MONGO_REPLICA_SET_NAME' in the environment block (line 52) but referenced as 'MONGODB_RS_NAME' here. Consider aligning these variable names for clarity.
_id : "${MONGODB_RS_NAME:-openconext}",

@baszoetekouw baszoetekouw requested a review from Copilot May 21, 2025 13:11
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates core services to run on arm64 by switching to images that support this architecture and handling MongoDB replication setup manually.

  • Adjusted MariaDB healthcheck timings
  • Replaced Bitnami Mongo image with the official mongo:7, added keyfile-based auth and a mongosh-driven replica set initialization
  • Upgraded several OpenConext service images to use the latest tag
Comments suppressed due to low confidence (1)

core/docker-compose.yml:127

  • [nitpick] Using the latest tag can lead to non-reproducible builds when images change unexpectedly. Consider pinning to a specific version to ensure determinism.
image: ghcr.io/openconext/mujina/mujina-idp:latest

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