Add ISCIII Beacon Podman rootless deployment - #2
Merged
Conversation
magdasmat
force-pushed
the
isciii-installation-v2.1.0
branch
from
July 15, 2026 14:00
07f25e7 to
58a5baf
Compare
magdasmat
force-pushed
the
isciii-installation-v2.1.0
branch
from
July 17, 2026 10:00
58a5baf to
38ba54c
Compare
Aberdur
approved these changes
Jul 17, 2026
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.
Summary
This PR applies the validated ISCIII Beacon deployment on top of the current
BU-ISCIII/mainbranch.The branch contains a single commit with the changes required to deploy Beacon using rootless Podman in the ISCIII-CIBER infrastructure.
Main changes
docker-compose.ymland.env..env.examplewith placeholders and no credentials.ghcr.io/ega-archive/beacon-template-ui:mainimage.beaconaf-isciiiciber.isciiides.es) and an API-only host (apibeacon-isciiiciber.isciiides.es).beacon-ri-toolsandphenopackets-to-BFFservices. Dataset and variant ingestion runs from a separateimpact-toolsinstallation.deploy/fix_permissions.shto prepare bind mounts, ACLs and SELinux permissions.docs/LEAME.md.Dataset permissions in MongoDB
MongoPermissionsinbeacon/permissions/plugins.py, reading from thedatasetsPermissionscollection instead ondatasets_permissions.ymlfrom filesystem, and switches the active plugin inbeacon/permissions/__main__.py.Note:
beacon/conf/datasets/datasets_conf.ymlmust still exist.beacon/validator/configuration.pyreads it at startup to validate that its keys areisTest/isSyntheticand its values boolean. In this deployment the dataset flags live in thedatasetsConfcollection, written byimpact-toolsat ingestion time.Admin UI
adminui/adminbackend/forms/entry_types.py: reads entry type configuration frombeacon/models/ga4gh/beacon_v2_default_model/conf/entry_types/*.yml. The previous code openedbeacon/conf/<entry_type>.py, which no longer exists in this version.adminui/start.sh: removesreset_dbandmakemigrations.reset_dbdropped and recreated the database on every container start, which is incompatible with the persistent SQLite volume added here.migrate --skip-checksdecouples applying migrations from validating the full application;runserverperforms the system checks immediately afterwards.adminui/templates/general_configuration/permits.html: wraps the granularity and security level radios in labels, without an enclosing label those inputs cannot be selected.adminui/adminbackend/settings.pyandurls.py:ALLOWED_HOSTS,FORCE_SCRIPT_NAMEand static file serving for the/admin-ui/subpath.adminui/Dockerfile: reorders the build so thatrequirements.txtis copied before the application code, letting Docker reuse the dependency layer when only source files change. Usesnpm ciinstead ofnpm installfor reproducible builds from the lockfile, and updatesENV KEY=VALUEandASto the current syntax to silence building warnings.Known limitations
@permission_required('adminclient.can_see_view')is commented out in the Admin UI views.adminui/adminclient/migrations/*is git-ignored. Withmakemigrationsremoved fromstart.sh, a clean checkout has no migrations for theadminclientapp.Validation
The deployment has been validated on the ISCIII VM using rootless Podman.
The following workflows were tested:
No local
.envfile, credentials, private keys, database files or generated application builds are included in this PR.