Open saket424 opened 1 year ago
This hint helped https://stackoverflow.com/questions/38088279/communication-between-multiple-docker-compose-projects I am now able to join the "matrix" network from nodered
version: '3.6'
networks:
matrixnet:
name: matrix
services:
nodered:
container_name: nodered
build:
context: ./services/nodered/.
args:
- DOCKERHUB_TAG=latest
- EXTRA_PACKAGES=
restart: unless-stopped
environment:
- TZ=Etc/UTC
ports:
- "1880:1880"
networks:
- matrixnet
volumes:
- ./volumes/nodered/data:/data
ubuntu@oracle13:~/IOTstack$ docker network inspect matrix
[
{
"Name": "matrix",
"Id": "e2332feaf0ac74aa48ff401de7d26eac999654556c3f005d37d1d78ee81d0483",
"Created": "2023-01-02T02:48:35.438538554Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.29.0.0/16",
"Gateway": "172.29.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"35788d081491c3d27214c700a09b130b506acf3c832eebfd035a50a8108a0013": {
"Name": "nodered",
"EndpointID": "acab1be361abc057e0a8e88b3750ec98a4c78aebbd2fb2efa3b07fbc4614e725",
"MacAddress": "02:42:ac:1d:00:08",
"IPv4Address": "172.29.0.8/16",
"IPv6Address": ""
},
"81b186562b2ddebd974743272cb8023197dc7f4dfca12102427a11cafaacc3d0": {
"Name": "matrix-mailer",
"EndpointID": "83ec138c44d49eab2b52ccd6982c16d5a9652d86b91aebe7459b2db059ebf358",
"MacAddress": "02:42:ac:1d:00:04",
"IPv4Address": "172.29.0.4/16",
"IPv6Address": ""
},
"ad0f96446cb82fce954167e2b1e5e98afd96f3e92264ddf7169bd4b01091313c": {
"Name": "matrix-synapse-reverse-proxy-companion",
"EndpointID": "c9dde2f6d6edb10cb9b6352dcaafad33051a6beea0f437071537fd9da13879e8",
"MacAddress": "02:42:ac:1d:00:05",
"IPv4Address": "172.29.0.5/16",
"IPv6Address": ""
},
"b4e6da00d01bac8b2a0847e362ce9758e0c10e13fd9fb46042ba4d2ed7e4b5b5": {
"Name": "matrix-client-element",
"EndpointID": "3aeeada53de687466ca1058349b0a8ecb98c84b4970a11b71f837ed748265e70",
"MacAddress": "02:42:ac:1d:00:06",
"IPv4Address": "172.29.0.6/16",
"IPv6Address": ""
},
"c3b6e223a71f472faaa2024ca12fd195d5b749aab87a7cb0354948caabf294ea": {
"Name": "matrix-postgres",
"EndpointID": "bcc28ef403c9c5635e067cbe557670cac3759668725690df43710a43cd3b359b",
"MacAddress": "02:42:ac:1d:00:02",
"IPv4Address": "172.29.0.2/16",
"IPv6Address": ""
},
"fc254cd636418ae0379ae8704058a0b8eb320b40c301cf4d2071606bf87deb7c": {
"Name": "matrix-synapse",
"EndpointID": "56ce026215c1663715d2a3794778bcb9359a2c8f3376a9a61ec751be9a324d9d",
"MacAddress": "02:42:ac:1d:00:03",
"IPv4Address": "172.29.0.3/16",
"IPv6Address": ""
},
"fc7c4f13ceee75d6cca366de0db202c8133d2583278c443c5d1477cdff7f5116": {
"Name": "matrix-nginx-proxy",
"EndpointID": "82fdf08f037129b5f60a95c700aeca3e6aeb1c1c425d10d2a0df063dcebbd5dc",
"MacAddress": "02:42:ac:1d:00:07",
"IPv4Address": "172.29.0.7/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {}
}
]
Has anyone attempted an ansible integration between matrix and nodered ? I have this integration working in standalone docker using a docker-compose.yml where i start both services
https://flows.nodered.org/node/node-red-contrib-matrix-chat https://skylar.tech/matrix-chat-bot-module-for-node-red/