mirror of
https://github.com/nspcc-dev/ansible-neogo-n3.git
synced 2026-03-01 04:28:30 +00:00
Replace --config with --config-file neo-go CLI option to start the node #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AnnaShaleva on GitHub (May 22, 2023).
Originally assigned to: @532910 on GitHub.
https://github.com/nspcc-dev/neo-go/pull/3014 introduces
--config-fileoption instead of--configpath combined with-m,-tand-pflags. So now we can have single parameter that specifies node config file instead of two separate parameters, e.g. here we can replace{{ neogo__conf_dir }}and{{ neogo__network }}with some single{{ neogo__conf_file }}:nspcc-dev/ansible-neogo-n3@5a3da674a6/templates/docker-compose.yml.j2 (L14)There may be a set of other cases where it can be applied.
Can be implemented after 0.102.0 NeoGo release.
@532910 commented on GitHub (Sep 11, 2023):
@AnnaShaleva commented on GitHub (Sep 11, 2023):
These are the flags telling the NeoGo nodes what's the desired node configuration file in the node config folder.
-mfor mainnet config,-tfor testnet and-pfor privnet. With--config-fileoption you don't need these flags and can directly specify the node configuration file, that's the point of this task.Why you shouldn't?