* refactor(docker): Enhance Zebra configuration options and entrypoint logic - Introduced multiple methods for configuring Zebra, including custom config file paths and automatic generation from environment variables. - Updated entrypoint script to handle configuration more robustly, checking for existing files and generating defaults as needed. - Improved documentation in `docker.md` to clarify configuration options and their precedence. - Adjusted environment variable handling in `docker/.env` for better clarity and functionality. - Refactored `prepare_conf_file` to create a complete configuration based on environment variables, streamlining the setup process. * fix(entrypoint): use correct `ZEBRA_RPC_PORT` variable This also removes the logic to set the default port for RPC as this was introducing a buggy logic * fix(docker): remove non-essential variables and set correct defaults * chore(docker): use the default config for docker-compose as the default approach * Apply suggestions from code review Co-authored-by: Marek <mail@marek.onl> * chore: better comment for user understanding * fix(entrypoint): set permissions correctly for parent directories * chore: align documentation and implementation * chore: clearer and aligned comments with docker-compose * fix(entrypoint): chown the zebra config file when `ZEBRA_CONF_PATH` is not set --------- Co-authored-by: Marek <mail@marek.onl> |
||
---|---|---|
.. | ||
zcash-lightwalletd | ||
.env | ||
Dockerfile | ||
default-zebra-config.toml | ||
docker-compose.grafana.yml | ||
docker-compose.lwd.yml | ||
docker-compose.test.yml | ||
docker-compose.yml | ||
entrypoint.sh | ||
test.env | ||
zcash.conf |