a dead-simple backplane for Dockerized applications
Project description
backplane
A simple backplane for your containerized applications.
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
Release history Release notifications | RSS feed
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)
Built Distribution
backplane-0.1.16-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for backplane-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 904d11d421cb66379d6e21c14cda8cf567e7d480830556486f6695863fba76c0 |
|
MD5 | 9efb7ae7144c77c691c2b6767c948343 |
|
BLAKE2b-256 | 2b8fcb2fe0a0364293f067301ccec5cff6f33a163088bf898510872a8ee1912b |