You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current $DAEMON_HOME location is dependent on the data directory and must be set to the same directory as the application data directory, it would be helpful to let the user decouple these two by setting an optional config for the data directory path
Problem Definition
Users are forced to place cosmovisor inside the application home directory (e.g., $HOME/.simapp), so it can detect upgrade-info.json and perform backups from the data directory.
One case where this can add complexity to the setup is using Cosmovisor inside Docker images. In Docker setups, it is trivial to mount the whole application home directory (e.g., $HOME/.simapp) to a persistent Docker volume, but cosmovisor should be outside of this volume so its underlying binaries can get updated by pulling new image versions.
Proposed Feature
Add an optional configuration like daemon_data_dir to allow users to specify an absolute path to the application data directory, such as /home/bob/.simapp/data. If left empty, it will default to the current behavior, which is $DAEMON_HOME/data.
The text was updated successfully, but these errors were encountered:
Summary
The current
$DAEMON_HOME
location is dependent on the data directory and must be set to the same directory as the application data directory, it would be helpful to let the user decouple these two by setting an optional config for the data directory pathProblem Definition
Users are forced to place cosmovisor inside the application home directory (e.g., $HOME/.simapp), so it can detect upgrade-info.json and perform backups from the data directory.
One case where this can add complexity to the setup is using Cosmovisor inside Docker images. In Docker setups, it is trivial to mount the whole application home directory (e.g., $HOME/.simapp) to a persistent Docker volume, but cosmovisor should be outside of this volume so its underlying binaries can get updated by pulling new image versions.
Proposed Feature
Add an optional configuration like
daemon_data_dir
to allow users to specify an absolute path to the application data directory, such as/home/bob/.simapp/data
. If left empty, it will default to the current behavior, which is$DAEMON_HOME/data
.The text was updated successfully, but these errors were encountered: