Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
/usr/bin/zerotier-cli set abfd31bd477449b6 allowDefault=0
/usr/bin/zerotier-cli set abfd31bd477449b6 allowManaged=0
echo "0" > /proc/sys/net/bridge/bridge-nf-call-iptables
iptables -A FORWARD -p all -i br-br0 -j ACCEPT
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
eth0:
addresses: []
#!/bin/bash
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export PATH
LOCAL_IF="eth0"
VPN_IF="ztc25el5hr"
BR_IP="10.46.1.27/24"
BR_NET="10.46.1.0/24"
date
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
version: 2
ethernets:
eth0:
addresses: []
#!/bin/bash
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export PATH
LOCAL_IF="eth0"
VPN_IF="ztc25el5hr"
BR_IP="10.46.1.27/24"
BR_NET="10.46.1.0/24"
date
version: '3.3'
services:
portainer-ce:
ports:
- '8000:8000'
- '9000:9000'
container_name: portainer
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
version: "3.7"
services:
node-red:
container_name: node-red
image: nodered/node-red:latest
environment:
- TZ=Europe/Madrid
volumes:
- /dev:/host/dev
adminAuth: {
type: "credentials",
users: [{
username: "admin",
password: "$2b$08$HaTrfkNeGlpFwOShiFL3V.49VzdgGXdNqRe7hO1Omh/LbsjTP0x16",
permissions: "*"
}]
},
// Customising the editor
editorTheme: {
projects: {
// To enable the Projects feature, set this value to true
enabled: true
}
}
editorTheme: {
page: {
title: "i40sys flows"
},
header: {
title: "Industry 4.0 Systems - Flows",
image: "", // or null to remove image
url: "http://nodered.org" // optional url to make the header text/image a link to this url
},
projects: {