Fix: mount volume to store tendermint data

This commit is contained in:
manjush08 2019-03-14 10:34:06 +05:30 committed by GitHub
parent 1c0287d924
commit f8a05f5598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@
- "{{ tendermint_rpc_port }}" - "{{ tendermint_rpc_port }}"
volumes: volumes:
- "{{ tendermint_host_mount_dir }}{{ item|string }}{{ tendermint_home }}:{{ tendermint_home }}" - "{{ tendermint_host_mount_dir }}{{ item|string }}{{ tendermint_home }}:{{ tendermint_home }}"
- "{{ tendermint_host_mount_dir }}{{ item|string }}{{ tendermint_data }}:{{ tendermint_data }}"
- "{{ tendermint_host_mount_config_dir }}{{ tendermint_home }}:/tendermint_config" - "{{ tendermint_host_mount_config_dir }}{{ tendermint_home }}:/tendermint_config"
entrypoint: '' entrypoint: ''
command: bash -c 'cp /tendermint_config/genesis.json /tendermint/config/genesis.json && command: bash -c 'cp /tendermint_config/genesis.json /tendermint/config/genesis.json &&