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.15.tar.gz
(11.3 kB
view hashes)
Built Distribution
backplane-0.1.15-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for backplane-0.1.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8394cb041019eb97d9a0b6af1ad2cb948465fdf4ee63add521fb29fadde81408 |
|
MD5 | 3162cb61b43b3c24a0e46cff33577104 |
|
BLAKE2b-256 | b71e15f1d522f1d9cad54f774faf0093db701ecb92d6fb5f91bd99f7029a0f53 |