Heroku Deployment

The NEO•ONE Node can be quickly deployed on Heroku using the deployment button below.

More information on Heroku can be found here.


Deploy!

Deploy

Upon successfully building the node-container and launching your app, you should see the node logs in your apps logs.

Configure

Configuration Reference

You can quickly apply environment variable configuration options to the node using the Config Vars in App >> Settings >> Config Vars. As an example we can set the log-level using a config var with key:value

neo-one_telemetry__logging__level verbose

After applying the node will restart and update its configuration.

Note

Because of the environment-variable syntax rc expects, you must use the neo-one_<parent>__<child> syntax when applying a value.

Caveats

Currently it is not possible to enable two or more port requiring processes simultaneously. This is because Heroku only allocates a single port to the app. By default the node’s rpc server is using this port so if you would like to enable telemetry through a config var you will also need to disable the rpc server.

Additionally it is not possible right now to set environment variable values for Array config options. This should be addressed soon.

Note

If you would like to see metrics or enable other features that require a port, you must assign the port to $PORT, this is the environment variable supplied by heroku.

Edit this page
  • Local Docker Development
  • Kubernetes
  • Docker Compose
  • Building From Source
  • Heroku Deployment
  • Configuration Reference
Previous Article
Building From Source
Next Article
Configuration Reference
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE