Code Monkey home page Code Monkey logo

balena-portainer's Introduction

balena Portainer block

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 Portainer into your balena fleet

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:

Test Portainer on balena

If you would like to test a standalone version, click the button below

balena deploy button

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:

portainer-balenaCloud

Type on the browser https://<local ip address>:9433 and you might be able to access to the Portainer UI.

portainer-balena

Click Add Environment to start using Portainer on balena.

Add Environment on Portainer on balena

Now select Dockerand click Connect via socket plus Override default socket path. You are going to be able to use the balena-engine sock to connect with the Portainer Docker API. Add the public IP of your device as well.

Configure your Docker environment on Portainer on balena

As a result, you might have a new environment on your device.

Portainer environment list on balena

From now you can start adding new containers on your Portainer running balena.

Containers running on Portainer on balena

Have fun and let us know what you deployed with Portainer on balena please :)

Contributing

Do you want to help make the balena Portainer example better? Feel free to contribute opening issues and PRs.

Acknowledgement

Thanks @klutchell for setting up the docker-compose for building portainer using balena.

balena-portainer's People

Contributors

mpous avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.