removed version property from docker-compose
This commit is contained in:
parent
0baa70dc97
commit
331266499c
@ -32,19 +32,7 @@ docker run --rm -v tb-edge-postgres-data:/volume -v ~/.mytb-edge-data/db:/backup
|
||||
After completing the data migration to the newly created Docker volumes, you'll need to update the volume mounts in your Docker Compose configuration.
|
||||
Modify the `docker-compose.yml` file for ThingsBoard Edge to update the volume settings.
|
||||
|
||||
First, please update docker compose file version. Find next snippet:
|
||||
```text
|
||||
version: '3.0'
|
||||
...
|
||||
```
|
||||
|
||||
And replace it with:
|
||||
```text
|
||||
version: '3.8'
|
||||
...
|
||||
```
|
||||
|
||||
Then update volume mounts. Locate the following snippet:
|
||||
Update volume mounts. Locate the following snippet:
|
||||
```text
|
||||
volumes:
|
||||
- ~/.mytb-edge-data:/data
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
cassandra:
|
||||
volumes:
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
tb-js-executor:
|
||||
env_file:
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
tb-edqs1:
|
||||
volumes:
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
tb-core1:
|
||||
env_file:
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
restart: always
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
kafka:
|
||||
restart: always
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
volumes:
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
restart: always
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
volumes:
|
||||
prometheus_data: {}
|
||||
grafana_data: {}
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
# Valkey cluster
|
||||
valkey-node-0:
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
# Valkey cluster
|
||||
# The latest version of Valkey compatible with ThingsBoard is 8.0
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
# Valkey sentinel
|
||||
valkey-primary:
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
# Valkey sentinel
|
||||
# The latest version of Valkey compatible with ThingsBoard is 8.0
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
valkey:
|
||||
volumes:
|
||||
|
||||
@ -13,9 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
# Valkey standalone
|
||||
# The latest version of Valkey compatible with ThingsBoard is 8.0
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
tb-core1:
|
||||
volumes:
|
||||
|
||||
@ -14,9 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
zookeeper:
|
||||
restart: always
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
cassandra:
|
||||
environment:
|
||||
|
||||
@ -14,7 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
services:
|
||||
broker:
|
||||
image: eclipse-mosquitto
|
||||
|
||||
@ -14,6 +14,4 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
# Placeholder
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
rabbitmq:
|
||||
restart: always
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
valkey:
|
||||
volumes:
|
||||
|
||||
@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
version: '3.0'
|
||||
|
||||
services:
|
||||
# Valkey standalone
|
||||
# The latest version of Valkey compatible with ThingsBoard is 8.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user