When following the instruction here https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/building-running.md I get an error at the last line
PGPASSFILE=config/pgpass-mainnet db-sync-node/bin/cardano-db-sync \
--config /home/user/relay/mainnet-config.yaml \
--socket-path /home/user/relay/node.socket \
--state-dir /home/user/relay/db \
--schema-dir schema/
the error is
FatalError {fatalErrorMessage = "readSyncNodeConfig: Error parsing config: AesonException \"Error in $: key \\\"NetworkName\\\" not found\""}
Any any help or direction is appreaciated. Thank you