Skip to content

Docker: controller/router won't exec bootstrap script due to yaml boolean conversion #3254

@pedxyuyuko

Description

@pedxyuyuko
Image

Here

Docker Compose treats the value true as a YAML boolean which in the container it gets convert to "True". This will make the if condition fail because the first letter get capitalized.

Image

This get evaluated as "True" == true

Adding quotation mark solve the issue

ZITI_BOOTSTRAP: "true"

I can send a quick PR if possible. Just post here in case others are facing the same problem.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions