Skip to content

Instantly share code, notes, and snippets.

@linkdd
Created September 14, 2021 22:39
Show Gist options
  • Save linkdd/5151598a9900465221a63f708a3f0c2e to your computer and use it in GitHub Desktop.
Save linkdd/5151598a9900465221a63f708a3f0c2e to your computer and use it in GitHub Desktop.
Example of datapio_cluster_config
import Config
config :datapio_cluster,
service_name: [env: "MYAPP_SERVICE_NAME", default: nil],
app_name: [env: "MYAPP_APP_NAME", default: "my_app"],
cache_tables: [
some_set: [:id, :attr1, :attr2],
some_other_set: [:id, :attr]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment