a dead-simple backplane for Dockerized applications
Project description
backplane
A simple backplane for your containerized applications.
Get started
git clone https://gitlab.com/p3r.one/backplane $HOME/.backplane
cd $HOME/.backplane
docker-compose --project-name backplane up -d
You can now visit the dashboards of both services in your browser:
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:
portainer:
image: portainer/portainer-ce:2.0.0
container_name: portainer
command: -H unix:///var/run/docker.sock
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
- backplane
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "portainer-data:/data"
labels:
- "traefik.enable=true"
- "traefik.http.routers.portainer.entrypoints=http"
- "traefik.http.routers.portainer.rule=Host(`portainer.${BACKPLANE_DOMAIN}`)"
- "traefik.http.routers.traefik.middlewares=compress@file"
- "traefik.http.routers.portainer.service=portainer"
- "traefik.http.services.portainer.loadbalancer.server.port=9000"
- "traefik.docker.network=backplane"
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.11.tar.gz
(11.3 kB
view hashes)
Built Distribution
backplane-0.1.11-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for backplane-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5414893db7ae1c73fec02674c20423e2100fc4581cfb4f8f0cd3ba8be5d8d8be |
|
MD5 | 723a0eae6a18083074672624c1f964b2 |
|
BLAKE2b-256 | bb008afd6efc98931f620ba1c2b6c1747364c9dc78aeb8fa480eff81c78f41ac |