A Nix flake for running a local GreptimeDB cluster with process-compose.
All processes are disabled by default. Start what you need:
nix developprocess-compose up garageprocess-compose up standalone| Protocol | Address |
|---|---|
| HTTP | http://127.0.0.1:11070 |
| gRPC | 127.0.0.1:11071 |
| MySQL | 127.0.0.1:11072 |
| PostgreSQL | 127.0.0.1:11073 |
process-compose up haproxy| Protocol | Address |
|---|---|
| HTTP | http://127.0.0.1:11050 |
| gRPC | 127.0.0.1:11051 |
| MySQL | 127.0.0.1:11052 |
| PostgreSQL | 127.0.0.1:11053 |
Place a greptime binary in the project root before starting. Process-compose runs on port 11099.
process-compose process start metasrv-1
process-compose process start frontend-1
process-compose process start flownodeprocess-compose down
rm -rf .greptimedb