|
@@ -34,7 +34,7 @@ Before getting started, the following environment needs to be prepared.
|
|
|
|
|
|
Both Neuron and eKuiper support binary installation packages and Docker containerized deployment solutions. In this article, we take Docker solution as an example and use [docker compose](https://docs.docker.com/compose/) to quickly deploy two components on the edge with one click.
|
|
Both Neuron and eKuiper support binary installation packages and Docker containerized deployment solutions. In this article, we take Docker solution as an example and use [docker compose](https://docs.docker.com/compose/) to quickly deploy two components on the edge with one click.
|
|
|
|
|
|
-1. Copy [docker-compose.yml](. /docker-compose.yml) file to the deployment machine. The contents are as follows, containing Neuron, eKuiper, and the eKuiper manager (optional). In particular, eKuiper and neuron share a volume called nng-ipc, which is used for communication between the two.
|
|
|
|
|
|
+1. Copy [docker-compose.yml](. /docker-compose.yml) file to the deployment machine. The contents are as follows, containing Neuron, eKuiper, and the eKuiper manager (optional). In particular, eKuiper and neuron share a volume called nng-ipc, which is used for communication between the two. If using eKuiper alpine version, add `user: root:root` into the eKuiper section to grant the write access to the ipc file, otherwise, the connection cannot be established.
|
|
|
|
|
|
```yaml
|
|
```yaml
|
|
version: '3.4'
|
|
version: '3.4'
|
|
@@ -46,7 +46,7 @@ Both Neuron and eKuiper support binary installation packages and Docker containe
|
|
ports:
|
|
ports:
|
|
- "9082:9082"
|
|
- "9082:9082"
|
|
ekuiper:
|
|
ekuiper:
|
|
- image: lfedge/ekuiper:1.5.0-slim
|
|
|
|
|
|
+ image: lfedge/ekuiper:1.5-slim
|
|
ports:
|
|
ports:
|
|
- "9081:9081"
|
|
- "9081:9081"
|
|
- "127.0.0.1:20498:20498"
|
|
- "127.0.0.1:20498:20498"
|