Browse Source

Update edge install instructions

- changed instructions
pull/13260/head
Yevhenii 1 year ago
parent
commit
8dcd8f707d
  1. 10
      application/src/main/data/json/edge/instructions/install/docker/instructions.md
  2. 10
      application/src/main/data/json/edge/instructions/install/ubuntu/instructions.md

10
application/src/main/data/json/edge/instructions/install/docker/instructions.md

@ -37,16 +37,18 @@ version: '3.8'
services:
mytbedge:
restart: always
image: "thingsboard/tb-edge:3.9.1EDGE"
image: "thingsboard/tb-edge:${TB_EDGE_VERSION}"
ports:
- "8080:8080"
- "1883:1883"
- "5683-5688:5683-5688/udp"
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/tb-edge
CLOUD_ROUTING_KEY: PUT_YOUR_EDGE_KEY_HERE # e.g. 19ea7ee8-5e6d-e642-4f32-05440a529015
CLOUD_ROUTING_SECRET: PUT_YOUR_EDGE_SECRET_HERE # e.g. bztvkvfqsye7omv9uxlp
CLOUD_RPC_HOST: PUT_YOUR_CLOUD_IP # e.g. 192.168.1.1 or demo.thingsboard.io
CLOUD_ROUTING_KEY: ${CLOUD_ROUTING_KEY}
CLOUD_ROUTING_SECRET: ${CLOUD_ROUTING_SECRET}
CLOUD_RPC_HOST: ${BASE_URL}
CLOUD_RPC_PORT: ${CLOUD_RPC_PORT}
CLOUD_RPC_SSL_ENABLED: ${CLOUD_RPC_SSL_ENABLED}
volumes:
- tb-edge-data:/data
- tb-edge-logs:/var/log/tb-edge

10
application/src/main/data/json/edge/instructions/install/ubuntu/instructions.md

@ -99,11 +99,11 @@ To configure ThingsBoard Edge, you can use the following command to automatical
```bash
sudo sh -c 'cat <<EOL >> /etc/tb-edge/conf/tb-edge.conf
export CLOUD_ROUTING_KEY=<PUT_YOUR_EDGE_KEY_HERE>
export CLOUD_ROUTING_SECRET=<PUT_YOUR_EDGE_SECRET_HERE>
export CLOUD_RPC_HOST=demo.thingsboard.io
export CLOUD_RPC_PORT=7070
export CLOUD_RPC_SSL_ENABLED=false
export CLOUD_ROUTING_KEY=${CLOUD_ROUTING_KEY}
export CLOUD_ROUTING_SECRET=${CLOUD_ROUTING_SECRET}
export CLOUD_RPC_HOST=${BASE_URL}
export CLOUD_RPC_PORT=${CLOUD_RPC_PORT}
export CLOUD_RPC_SSL_ENABLED=${CLOUD_RPC_SSL_ENABLED}
EOL'
{:copy-code}
```

Loading…
Cancel
Save