Add support for DAPPNODE_CORE_DIR and disable host scripts feature#2387
Merged
pablomendezroyo merged 7 commits intodevelopfrom Feb 27, 2026
Merged
Add support for DAPPNODE_CORE_DIR and disable host scripts feature#2387pablomendezroyo merged 7 commits intodevelopfrom
pablomendezroyo merged 7 commits intodevelopfrom
Conversation
3alpha
approved these changes
Feb 24, 2026
29 tasks
pablomendezroyo
added a commit
that referenced
this pull request
Mar 9, 2026
…2387) * Add support for DNCORE_HOST_PATH and disable host scripts feature * Set default value for DISABLE_HOST_SCRIPTS in environment variables * Add conditional check for DISABLE_HOST_SCRIPTS before starting host reboot daemon * Update volume path for DAPPNODE_CORE_DIR in docker-compose files * Enhance ComposeEditor to support allowSubstitution parameter and update related verification logic * Add DAPPNODE_CORE_DIR support and update restart volumes in params
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.
Context
This update introduces support for a configurable
DNCORE_HOST_PATHto specify the location of DNCORE on the host. It also adds a feature to disable host scripts, which is useful for running in development environments like macOS with Docker.Approach
The solution implements environment variable checks to conditionally execute host integration features, allowing users to disable them when necessary.
Test instructions
DAPPNODE_CORE_DIRenvironment variable to a custom path and verify that the application uses this path.DISABLE_HOST_SCRIPTSenvironment variable totrueand ensure that host scripts are not executed during the application startup.