Here you can find information on how to deploy and run Urbalytix.
Following image shows the target environment in which Urbalytix is supposed to run.
Helm is the preferred tool to install Urbalytix. Assuming you have a Kubernetes cluster configured, installation can then be done with the following command:
helm -n urbalytix install urbalytix oci://registry-1.docker.io/starwitorg/urbalytix-chart -f yourvalues.yamlPlease note, that namespace is optional and you can define your own release name. For how to use Helm refer to their docs.
Helm chart depends on a running PostgreSQL/Timescale.
The following custom values.yaml will make application available under hostname urbalytix.cluster.local with no context-path.
app:
context_path: "/urbalytix"
# configuration for an endpoint from which app will collect GeoJSON features
feature_collection:
enabled: true
endpoint: https://hostname:port
secret: supersecret
spring_data: # Configuration to connect to Redis/ValKey
redis_active: false # only if true connection config is used
redis_host: localhost
redis_port: 6379
aggregator_stream_prefix: aggregator # if aggregation messages are published under a different name
positionsource_stream_prefix: positionsource # if position messages are published under a different name
detection_stream_prefix: objectdetector # if detection messages are published under a different name
detection_scale: 20 # scale factor of vehicle route density
# mapping external roles to standard internal ones
security:
rolemapping:
admin: urbalytix_admin
user: urbalytix_user
reader: urbalytix_reader
ingress:
enabled: true
hosts:
- host: urbalytix.cluster.local
paths:
- path: /
pathType: ImplementationSpecificMore details on the values you need to provide in order run Helm chart on your environment can be found here.
Once you have installed Urbalytix you can reach it's API documentation at http://domain/Urbalytix/swagger-ui/index.html.
TODO