Skip to content

feat: mount graphite config directory from host#80

Open
nemtsov wants to merge 1 commit into
dokku:masterfrom
nemtsov:feat/mount-config-and-graphitedb
Open

feat: mount graphite config directory from host#80
nemtsov wants to merge 1 commit into
dokku:masterfrom
nemtsov:feat/mount-config-and-graphitedb

Conversation

@nemtsov
Copy link
Copy Markdown

@nemtsov nemtsov commented Mar 15, 2026

Summary

  • Bind-mount the service config directory (config/) into /opt/graphite/conf so custom config files (e.g. storage-schemas.conf) placed there take effect
  • On first container creation, seed the host config directory with the image defaults so the bind mount doesn't overlay with an empty directory

Problem

The plugin creates a config directory on service create and reports it via graphite:info --config-dir, but never mounts it into the container. Custom config files placed there have no effect (#50).

This was originally noted in commit b0d8f38 ("prepare ground for config directory changes") from 2017, but it looks like the mount was never added.

The plugin creates a config directory and reports it via
graphite:info --config-dir, but never mounts it into the container.
Custom config files placed there (e.g. storage-schemas.conf) have
no effect.

Bind-mount the config directory into /opt/graphite/conf. On first
container creation, seed the host config directory with the image
defaults so the bind mount doesn't overlay with an empty directory.

Fixes dokku#50
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