entrypoint.sh 595 B

1234567891011121314151617
  1. {#
  2. We do this instead of using the "depends_on" because docker does not stop
  3. waiting until all containers have started and without all containers started,
  4. we hit the upper limit of mw timeout. This only happens on initial install,
  5. when the identity is not generated yet.
  6. #}
  7. {% macro entrypoint(values) -%}
  8. until [ -f "{{ values.consts.config_dir }}/setup.done" ]; do
  9. echo "Waiting for Storj to be setup..."; sleep 5;
  10. done
  11. {%- if values.storj.wallets %}
  12. /entrypoint --operator.wallet-features={{ values.storj.wallets | join(",") }}
  13. {%- else %}
  14. /entrypoint
  15. {%- endif %}
  16. {%- endmacro %}