diff --git a/nonfree/controller/README_CENTRAL_CONTROLLER.md b/nonfree/controller/README_CENTRAL_CONTROLLER.md index 7d8268c3f..9fd7f7707 100644 --- a/nonfree/controller/README_CENTRAL_CONTROLLER.md +++ b/nonfree/controller/README_CENTRAL_CONTROLLER.md @@ -53,4 +53,36 @@ cmake --build build/ --target all -j8 --verbose ## Packaging via Docker -TODO: write me \ No newline at end of file +TODO: write me + + +## Configuration + +Central Controller has new configuration options outside of the normal "settings" block of `local.conf`. + +```json +{ + "settings": { + ...standard zt1 local.conf settings... + }, + "controller": { + "listenMode": (pgsql|redis|pubsub), + "statusMode": (pgsql|redis|bigtable), + "redis": { + "hostname": ..., + "port": 6379, + "clusterMode": true + }, + "pubsub": { + "project_id": + }, + "bigtable": { + "project_id": , + "instance_id": , + "table_id": + } + } +} +``` + +Configuration checks for invalid configurations like `listenMode = "pubsub"`, but without a `"pubsub"` config block.