Skip to content

feat: parameterize Docker images in docker-compose-local.yml#214

Open
inDane wants to merge 3 commits into
LibreBooking:masterfrom
inDane:master
Open

feat: parameterize Docker images in docker-compose-local.yml#214
inDane wants to merge 3 commits into
LibreBooking:masterfrom
inDane:master

Conversation

@inDane

@inDane inDane commented Jul 6, 2026

Copy link
Copy Markdown

What

Adds LB_*_DOCKER_IMAGE and LB_*_DOCKER_TAG environment variables so the DB and app images in docker-compose-local.yml can be overridden without modifying the compose file.

Why

  • Pin specific image versions for reproducibility
  • Swap registries or use local builds without touching YAML
  • Keep the defaults for drop-in compatibility

Variables

Variable Example-Value
LB_DB_DOCKER_IMAGE my.registry.example.com/hub.docker.com/linuxserver/mariadb
LB_DB_DOCKER_TAG 10.6.13
LB_APP_DOCKER_IMAGE my.registry.example.com/hub.docker.com/librebooking/librebooking
LB_APP_DOCKER_TAG 5.1.0
LB_PROXY_DOCKER_IMAGE my.registry.example.com/hub.docker.com/nginxproxy/nginx-proxy
LB_PROXY_DOCKER_TAG latest
LB_ACME_DOCKER_IMAGE my.registry.example.com/hub.docker.com/nginxproxy/acme-companion
LB_ACME_DOCKER_TAG latest

Backward compatible

  • Defaults match the previous hardcoded values — no behavior change for existing users.

@inDane inDane marked this pull request as ready for review July 6, 2026 15:44
@inDane

inDane commented Jul 6, 2026

Copy link
Copy Markdown
Author

forgot to add the env variables to docker-compose-public.yml.

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