services: bitmessage: build: context: ./docker dockerfile: Dockerfile image: registry.bitdeals.org/bitmessage environment: - BITMESSAGE_API_USER=bitmessage_api_user - BITMESSAGE_API_PASSWORD=bitmessage_api_password - BITMESSAGE_SEED_PHRASE= - BITMESSAGE_SEED_ADDRESSES=1 - BITMESSAGE_TTL=172800 - BITMESSAGE_STOPRESENDINGAFTERXDAYS=60 - BITMESSAGE_MAXTOTALCONNECTIONS=40 ports: # The API controls the daemon completely and has no TLS, so it never # leaves loopback -- the README has said so all along, this file did not. - 127.0.0.1:8442:8442 # P2P. Only 8444:8444 works — the daemon announces its own configured # port to peers, not the one you mapped it to. Drop this line to run # outbound-only. - 8444:8444 volumes: - bitmessage:/home/bitmessage volumes: bitmessage: