Skip to content

Docker compose should be updated with latest flags #5412

@akrem-chabchoub

Description

@akrem-chabchoub

packaging/docker/docker-compose.yml is out of sync with current bee flags

summary

packaging/docker/docker-compose.yml appears outdated compared to current CLI/env options in cmd/bee/cmd.
The main impact is that autotls-related configuration is not exposed in compose, even though the feature exists in bee.
There are also other outdated/missing env mappings.

main compatibility gap (autotls examples)

The following env vars are expected to map to active flags but are not present in compose:

env var expected flag
BEE_AUTOTLS_DOMAIN autotls-domain
BEE_AUTOTLS_REGISTRATION_ENDPOINT autotls-registration-endpoint
BEE_AUTOTLS_CA_ENDPOINT autotls-ca-endpoint
BEE_P2P_WSS_ENABLE p2p-wss-enable
BEE_P2P_WSS_ADDR p2p-wss-addr
BEE_NAT_WSS_ADDR nat-wss-addr

note

There are additional stale/missing env mappings in compose as well (and others)...

acceptance criteria

  • docker-compose.yml exposes autotls/WSS env vars with compatible flag mapping
  • verified env-to-flag compatibility against current cmd/bee/cmd options
  • node starts successfully with compose when autotls-related env vars are provided
  • no invalid/removed env vars remain

AI Disclosure

  • This issue contains suggestions and text generated by an LLM.
  • I have reviewed the AI generated content thoroughly.
  • I possess the technical expertise to responsibly review the AI generated content mentioned in this issue.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions