Skip to content

Cannot find phoenixd http_key when running docker containers on a physical machine (not VPS) #7

@Delgado74

Description

@Delgado74

Hi team,

We've been testing the lnbits-phoenixd setup by cloning the repository and running it locally on a physical machine connected to the internet (not a VPS).

Both lnbits and phoenixd containers are running successfully using docker-compose up, and we can access LNbits on http://localhost:5000. The phoenixd container listens on port 9740, and logs confirm it's active.

However, we are currently unable to locate the required http_key to configure LNbits to use phoenixd as a backend.

What we tried:

  • Searched for phoenixd.conf inside the container (/phoenix/.phoenix/phoenixd.conf), but the file does not exist or is empty.
  • Looked into /phoenix/phoenix-0.3.1-SNAPSHOT-jvm/phoenixd.conf but it does not contain any http_key or related configuration.
  • Used strings, grep, cat, and vi within the container to search for secrets or the http_key.
  • Running http://localhost:9740 in a browser returns: Unknown endpoint (check api doc)

Environment:

  • Host: Physical machine (Linux, Pop!_OS)
  • Docker version: 28.2.1
  • Docker Compose version: 2.36.2
  • Repo: https://github.com/bitkarrot/lnbits-phoenixd
  • LNbits version: 0.12.9 (container)
  • phoenixd version: 0.3.1-SNAPSHOT-3b6feb3

Request:

Could you please clarify:

  • Where the http_key is stored or logged?
  • If there's a recommended way to export or access the config from inside the running phoenixd container?
  • Whether running outside a VPS changes expected behavior?

Thanks for your time and all your work on this integration!


Labels:
question, help wanted, docker, integration, lnbits, phoenixd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions