super-graph 的配置可以通过yaml 以及json格式,同时提供了基于环境变量的管理(以 GO_ENV 开头) 比如 GP_ENV=prod 使用prod.yaml 对于 GO_ENV-dev 的使用 dev.yaml ,配置文件也可以通过 -path <folder> 指定 完整配置 参考配置文件 # Inherit config from this other config file # so I only need to overwrite some values inherits: base app_name: "Super Graph Development" host_port: 0.0.0.0: 8080 web_ui: true # debug, error, warn, info log_level: "debug" # enable or disable http compression (uses gzip) http_compress: true # When production mode is 'true' only queries # from the allow list are permitted. # When it's 'false' all queries are saved to the # the allow list in .