Sign inSign up

bitdeals/pybitmessage

By bitdeals

•Updated about 3 years ago

PyBitmessage client running as a daemon with XML-RPC API enabled

Image
0

475

bitdeals/pybitmessage repository overview

⁠Intro

PyBitmessage⁠ is a client of the Bitmessages P2P communication protocol used to send encrypted messages to another person or to many subscribers.

PyBitmessage client running as a daemon in docker container with XML-RPC API enabled.

⁠Usage

The container generates a Bitmessage Deterministic Addresses based on a BITMESSAGE_SEED_PHRASE variable.

Here are some example snippets to help you get started creating a container.

⁠docker-compose

version: "3"
services:
  pybitmessage:
    image: bitdeals/pybitmessage
    environment:
      - BITMESSAGE_API_USER=bitmessage_api_user
      - BITMESSAGE_API_PASSWORD=bitmessage_api_password
      - BITMESSAGE_SEED_PHRASE=bitmessage_seed_phrase
      - BITMESSAGE_SEED_ADDRESSES=1
      - BITMESSAGE_TTL=172800
      - BITMESSAGE_STOPRESENDINGAFTERXDAYS=60
    ports:
      - 8442:8442

⁠docker cli

docker run -d \
  -e BITMESSAGE_API_USER=bitmessage_api_user \
  -e BITMESSAGE_API_PASSWORD=bitmessage_api_password \
  -e BITMESSAGE_SEED_PHRASE=bitmessage_seed_phrase \
  -e BITMESSAGE_SEED_ADDRESSES=1 \
  -e BITMESSAGE_TTL=172800 \
  -e BITMESSAGE_STOPRESENDINGAFTERXDAYS=60
  -p 8442:8442 \
  bitdeals/pybitmessage

⁠Parameters

Container images are configured using parameters passed at runtime.

ParameterFunction
-p 8442XML-RPC API port TCP
-e BITMESSAGE_API_USER=XML-RPC API user. Default: bitmessage_api_user
-e BITMESSAGE_API_PASSWORD=XML-RPC API password. Default: bitmessage_api_password
-e BITMESSAGE_SEED_PHRASECreate Deterministic Addresses password. Default: bitmessage_seed_phrase
-e BITMESSAGE_SEED_ADDRESSESNumber of Deterministic Addresses to generate. Default: 1
-e BITMESSAGE_TTLThe expiration of newly send messages, in seconds. Default: 172800
-e BITMESSAGE_STOPRESENDINGAFTERXDAYSStop resending unreceived message after X days. Default: 60

Tag summary

Content type

Image

Digest

sha256:1763b2243…

Size

50 MB

Last updated

about 3 years ago

docker pull bitdeals/pybitmessage