Skip to main content

a dead-simple backplane for Dockerized applications

Project description

backplane

A simple backplane for your containerized applications.

  • Traefik reverse-proxy for your containers
  • Portainer management dashboard for Docker

Get started

pip install backplane
backplane install
backplane start

You can now visit the dashboards of both services in your browser:

Configure your containers

To expose one of your services through Traefik, your service needs to be part of the backplane Docker network and carry a few Traefik-relevant labels:

docker

docker run \
--network backplane \
--label "traefik.enable=true" \
--label "traefik.http.routers.whoami.rule=Host(\`whoami.here.ns0.co\`)" \
--label "traefik.http.routers.whoami.entrypoints=http" \
--rm traefik/whoami

Visit http://whoami.here.ns0.co to verify it worked.

docker-compose

version: "3.3"

services:
  whoami:
    image: "traefik/whoami"
    container_name: "simple-service"
    networks:
      - backplane
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.whoami.rule=Host(`whoami.here.ns0.co`)"
      - "traefik.http.routers.whoami.entrypoints=http"

networks:
  backplane:
    name: backplane
    external: true

Visit http://whoami.here.ns0.co to verify it worked.

Development

Dependencies

pip install poetry
poetry shell
poetry install
npm i -g standard-version

Build

poetry build

Publish

poetry publish

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backplane-0.1.16.tar.gz (11.3 kB view hashes)

Uploaded Source

Built Distribution

backplane-0.1.16-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page