Skip to content

WIP: Dynamically generate fleetbase.config.json at container startup#556

Draft
sebiweise wants to merge 1 commit into
fleetbase:mainfrom
sebiweise:feature/prebuild_console
Draft

WIP: Dynamically generate fleetbase.config.json at container startup#556
sebiweise wants to merge 1 commit into
fleetbase:mainfrom
sebiweise:feature/prebuild_console

Conversation

@sebiweise

@sebiweise sebiweise commented May 20, 2026

Copy link
Copy Markdown
Contributor

What change does this PR introduce?

  • Added a docker-entrypoint.sh script to the console image that generates fleetbase.config.json from environment variables at container startup, enabling dynamic configuration without mounting files. [1] [2]
  • Updated the console/Dockerfile to copy and use the new entrypoint script, and to set API_HOST as a build argument and environment variable for easier configuration. [1] [2]
  • Updated docker-compose.yml to set all relevant configuration via environment variables instead of mounting a config file, streamlining deployment and configuration.
  • Revised the documentation in README.md to clarify that environment variables can now be set directly, and that using docker-compose.override.yml is optional.

Why was this change needed?

This pull request updates how runtime configuration is managed for the Fleetbase console Docker image, making it easier and more flexible to set environment variables at runtime. The console now generates its config file from environment variables on container startup, removing the need to manually mount a config file.

Other information (Screenshots)

The documentation is also updated to reflect this improved workflow.

Dynamically generate `fleetbase.config.json` at container startup based on environment variables. This removes the need to mount a host-side configuration file, making the console Docker image more portable and flexible for various deployment environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant