zebra/docker
Gustavo Valverde 8c90f65391
refactor(docker): allow more flexible zebra configuration (#7045)
* fix(docker): use `entrypoint.sh` as default for users

* ref(entrypoint): allow more flexible configurations

This changes allow users to:
- Mount their own configuration file
- Allow for Zebra to be exposed outside the container or not
- Allow the user to turn off sync
- Allow to enable `metrics` and `tracing`, exposing them or not

Having the `-x` option prints variable expasions, so we don't have to echo each value.

* chore(docker): remove unused ARGs from the Dockerfile

ARGs are not available at build time, so we don't require this ARGs as their ENV variables counterparts are being set in the `entrypoint`, at runtime.

* revert: keep old naming

* fix: renaming mistake :)

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* fix(docker): revert some breaking changes

* imp(docker): allow more flexibility with FEATURES config

* chore(docker): remove confusing port on `EXPOSE`

* chore(docker): remove unused command

* fix(docker): handle quotes while building the conf file

---------

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-28 02:36:07 +00:00
..
zcash-lightwalletd fix(docker): Copy lightwalletd from the correct path during Docker builds (#4886) 2022-08-04 06:29:49 +00:00
zcash-params change(docker): Replace the zcash-params Dockerfile build with a zebrad binary copy (#7054) 2023-06-28 02:34:46 +00:00
Dockerfile refactor(docker): allow more flexible zebra configuration (#7045) 2023-06-28 02:36:07 +00:00
entrypoint.sh change(ci): Generate testnet checkpoints in CI (#6581) 2023-05-03 23:14:22 +00:00
runtime-entrypoint.sh refactor(docker): allow more flexible zebra configuration (#7045) 2023-06-28 02:36:07 +00:00