You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `mytrendz-data/python-executor:/python-executor`- mounts the volume `mytrendz-data/python-executor` to Trendz Python Executor additional data directory
114
+
110
115
### Setup Docker volumes
111
116
112
117
Windows users should use docker managed volume for Trendz DataBase. Create docker volume (for ex. `mytrendz-data`) before
@@ -115,11 +120,12 @@ executing docker run command: Open “Docker Quickstart Terminal”. Execute the
- `~/.mytrendz-data/python-executor:/python-executor`- mounts the volume `~/.mytrendz-data/python-executor` to Trendz Python Executor additional data directory
104
107
105
108
106
109
Run following commands, before starting docker container(s), to create folders for storing data and logs.
@@ -109,6 +112,7 @@ To do this (to change user) **chown** command is used, and this command requires
@@ -131,6 +135,7 @@ Trendz uses ThingsBoard as an authentication service. During first sign in Thing
131
135
to validate credentials.
132
136
133
137
## Post-installation steps
138
+
134
139
It is essential to follow these [instructions](/docs/trendz/post-installation-steps) to fully use all features, such as saving telemetry to ThingsBoard and adding Trendz views to dashboards.
135
140
136
141
## Detaching, stop and start commands
@@ -141,7 +146,7 @@ It is essential to follow these [instructions](/docs/trendz/post-installation-st
141
146
142
147
## Upgrade Trendz Service
143
148
144
-
Below is example on how to upgrade from 1.13.1 to {{ site.release.trendz_ver }}
149
+
Below is example on how to upgrade from 1.13.2 to {{ site.release.trendz_ver }}
145
150
146
151
* Create a dump of your database:
147
152
@@ -159,17 +164,17 @@ If you still rely on Docker Compose as docker-compose (with a hyphen) execute ne
159
164
* Set upgradeversion variable to your **previous** Trendz version.
160
165
161
166
```bash
162
-
docker compose exec mytrendz sh -c "echo '1.13.1' > /data/.upgradeversion"
167
+
docker compose exec mytrendz sh -c "echo '1.13.2' > /data/.upgradeversion"
163
168
```
164
169
{: .copy-code}
165
170
166
171
{% capture dockerComposeStandalone %}
167
172
If you still rely on Docker Compose as docker-compose (with a hyphen) execute next command:
168
-
<br>**docker-compose exec mytrendz sh -c "echo '1.13.1' > /data/.upgradeversion"**
173
+
<br>**docker-compose exec mytrendz sh -c "echo '1.13.2' > /data/.upgradeversion"**
169
174
{% endcapture %}
170
175
{% include templates/info-banner.md content=dockerComposeStandalone %}
171
176
172
-
* After this you need to update docker-compose.yml as in [Step 2](#docker-compose-setup) but with {{ site.release.trendz_ver }} instead of 1.13.1:
177
+
* After this you need to update docker-compose.yml as in [Step 2](#docker-compose-setup) but with {{ site.release.trendz_ver }} instead of 1.13.3:
173
178
174
179
* Restart Trendz container
175
180
@@ -188,61 +193,6 @@ If you still rely on Docker Compose as docker-compose (with a hyphen) here is th
188
193
189
194
To upgrade Trendz to the latest version those steps should be done **for each intermediate version**.
190
195
191
-
## Standalone Python executor service
192
-
You can use following docker compose file in case when you want to start Trendz python executor as a separate service.
193
-
It is useful when your Trendz service is installed in monolith mode, and you want to logically separate Trendz from service that executes Python scripts for prediction models.
194
-
Using same configuration you can scale Python executors independently of Trendz service.
* Final step is to tell Trendz service how to communicate with Python executor service. You can do that by changing following environment variables in `/usr/share/trendz/conf/trendz.conf` file:
Note: you need to replace `PYTHON_EXECUTOR_HOST` and `PYTHON_EXECUTOR_PORT` with actual values of your Python executor service and ensure that Trendz is able to send network traffic to that destination.
0 commit comments