Skip to content

docker-compose.yml is missing required JWT_SECRET/HORIZON_URL env vars — container will crash-loop #9

Description

@abayomicornelius

src/config.rs::Config::from_env() requires JWT_SECRET (min 32 chars) and will anyhow::bail! if unset or too short; docker-compose.yml only defines DATABASE_URL and STELLAR_NETWORK for the api service.

Running docker-compose up as-is will cause the api container to panic on startup with "JWT_SECRET must be set". Add all required env vars (JWT_SECRET, HORIZON_URL, STELLAR_NETWORK_PASSPHRASE) to the compose file, ideally sourced from a .env file rather than hardcoded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdevopsDeployment/infra

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions