mirror of
https://github.com/fluencelabs/node-distro
synced 2025-06-22 19:21:34 +00:00
Add ceramic host to deployment_config (#39)
This commit is contained in:
@ -30,6 +30,7 @@ CONFIG = {
|
||||
'RUST_LOG': 'info,network=trace,execution=trace,tide=warn,aquamarine=info,aquamarine::actor=info,tokio_threadpool=info,tokio_reactor=info,mio=info,tokio_io=info,soketto=info,yamux=info,multistream_select=info,libp2p_secio=info,libp2p_websocket::framed=info,libp2p_ping=info,libp2p_core::upgrade::apply=info,libp2p_kad::kbucket=info,cranelift_codegen=info,wasmer_wasi=info,async_io=info,polling=info,wasmer_interface_types_fl=info ,cranelift_codegen=info,wasmer_wasi=info,async_io=info,polling=info,wasmer_interface_types_fl=info,particle_server::behaviour::identify=info,libp2p_mplex=info,libp2p_identify=info,walrus=info,particle_protocol::libp2p_protocol::upgrade=info',
|
||||
'FLUENCE_ENV_AQUA_IPFS_EXTERNAL_API_MULTIADDR': '/ip4/{host}/tcp/{ipfs_port}',
|
||||
'FLUENCE_ENV_AQUA_IPFS_EXTERNAL_SWARM_MULTIADDR': '/ip4/{host}/tcp/{ipfs_swarm_port}',
|
||||
'CERAMIC_HOST': '{ceramic_host}',
|
||||
},
|
||||
'command': '-c /Config.toml -f ed25519 -k {keypair} -x {host} -t {tcp_port} -w {ws_port} -m {management_key}',
|
||||
'volumes': [
|
||||
@ -56,7 +57,7 @@ CONFIG = {
|
||||
}
|
||||
}
|
||||
|
||||
def gen_compose_file(out, container_tag, scale, is_bootstrap, bootstraps, host, management_key, keypairs):
|
||||
def gen_compose_file(out, container_tag, scale, is_bootstrap, bootstraps, host, management_key, keypairs, ceramic_host):
|
||||
assert len(container_tag) > 0, "container tag must not be empty, was: '{}'".format(container_tag)
|
||||
|
||||
if is_bootstrap == True:
|
||||
@ -122,6 +123,7 @@ def gen_compose_file(out, container_tag, scale, is_bootstrap, bootstraps, host,
|
||||
ipfs_port=ipfs_port,
|
||||
ipfs_swarm_port=ipfs_swarm_port,
|
||||
ipfs_gateway_port=ipfs_gateway_port,
|
||||
ceramic_host=ceramic_host,
|
||||
)
|
||||
|
||||
for key in CONFIG['volumes']:
|
||||
|
Reference in New Issue
Block a user