This is a block that can be used to run Portainer on a Raspberry Pi and get all the benefits of running Portainer and balena along.
Add the following service to your docker-compose.yml
:
services:
portainer:
image: portainer/portainer-ce:latest
ports:
- 9000:9000
- 9443:9443
labels:
- io.balena.features.balena-socket=1
volumes:
- data:/data
volumes:
data:
If you would like to test a standalone version, click the button below
and deploy the code into a balenaCloud fleet.
Once you flashed a SD card with the balenaOS image from that fleet you will be able to see this:
Type on the browser https://<local ip address>:9433
and you might be able to access to the Portainer UI.
Do you want to help make the balena Portainer example better? Feel free to contribute opening issues and PRs.
Thanks @klutchell for setting up the docker-compose for building portainer using balena.