Problem: No volume mounted to store tendermint data (#2637)
* Fix: mount volume to store tendermint data * Fix: mount volume to store tendermint data
This commit is contained in:
parent
f0dc9986aa
commit
20a59a9640
|
@ -17,6 +17,7 @@ bigchaindb_docker_net: "bigchaindb_docker_net"
|
|||
tendermint_host_mount_dir: "{{ home_dir }}/tendermint_docker"
|
||||
tendermint_host_mount_config_dir: "{{ home_dir }}/tendermint_config"
|
||||
tendermint_home: /tendermint/config
|
||||
tendermint_data: /tendermint/data
|
||||
tendermint_p2p_port: 26656
|
||||
tendermint_rpc_port: 26657
|
||||
tendermint_abci_port: 26658
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
- "{{ tendermint_rpc_port }}"
|
||||
volumes:
|
||||
- "{{ 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"
|
||||
entrypoint: ''
|
||||
command: bash -c 'cp /tendermint_config/genesis.json /tendermint/config/genesis.json &&
|
||||
|
|
Loading…
Reference in New Issue