Skip to content

Commit a8d02a2

Browse files
committed
Added Portainer Agent
Added Portainer Agent this allows you to connect your stack to a other Portainer instance/ server
1 parent 1f146f0 commit a8d02a2

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
portainer_agent:
2+
image: portainer/agent
3+
container_name: agent
4+
ports:
5+
- 9002:9001
6+
volumes:
7+
- /var/run/docker.sock:/var/run/docker.sock
8+
- /var/lib/docker/volumes:/var/lib/docker/volumes
9+
restart: always

menu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pushd ~/IOTstack
55

66
declare -A cont_array=(
77
[portainer]="Portainer"
8+
[portainer_agent]="Portainer agent"
89
[nodered]="Node-RED"
910
[influxdb]="InfluxDB"
1011
[telegraf]="Telegraf (Requires InfluxDB and Mosquitto)"
@@ -32,7 +33,7 @@ declare -A cont_array=(
3233
)
3334
declare -a armhf_keys=("portainer" "nodered" "influxdb" "grafana" "mosquitto" "telegraf" "mariadb" "postgres"
3435
"adminer" "openhab" "zigbee2mqtt" "pihole" "plex" "tasmoadmin" "rtl_433" "espruinohub"
35-
"motioneye" "webthings_gateway" "blynk_server" "nextcloud" "diyhue" "homebridge" "python")
36+
"motioneye" "webthings_gateway" "blynk_server" "nextcloud" "diyhue" "homebridge" "python" "portainer_agent")
3637

3738
sys_arch=$(uname -m)
3839

0 commit comments

Comments
 (0)