Setting up host integration

Host integration allows Tonic Structural to reach outside of the the Structural software so that it can interact with the system that runs Structural.

You need to configure host integration so that you can:

  • For Kubernetes, use the one-click option to update Structural. In addition to configuring the host integration properties, your instance must have at least one user that has the Update Tonic global permission.

Kubernetes

In your values.yaml file, under tonicai.web_server.features, set the following properties:

host_integration_enabled: "true"  
kubernetes_role: "default" 

Docker

In your environment file, uncomment and set the following properties:

TONIC_HOST_INTEGRATION=DockerCompose
TONIC_HOST_INTEGRATION_ACL=https://tonic_docker_acl

For information about setting these values, go to the readme.

In docker-compose.yaml, make sure that services.tonic_web_server.environment refers to the values set in the environment file.

TONIC_HOST_INTEGRATION: ${TONIC_HOST_INTEGRATION:-"None"}
TONIC_HOST_INTEGRATION_ACL: ${TONIC_HOST_INTEGRATION_ACL}

Last updated