Skip to content

Conversation

@devarsh10
Copy link

This PR addresses #17613

Added documentation for using inline Docker configs as an alternative to bind mounts when deploying Prometheus with Docker Compose.

This approach is particularly useful when deploying to remote Docker hosts, as it eliminates the need to manually manage configuration files on the host filesystem. All configuration is embedded in the docker-compose.yml file.

Key additions:

  • Complete example using Docker's configs feature
  • Required uid, gid, and mode parameters (with explanation of the error users encounter if omitted)
  • Guidance on finding correct UID/GID values for different images
  • Use cases for when this approach is beneficial

Signed-off-by: Devarsh <devarshshah2608@gmail.com>
Signed-off-by: Devarsh <devarshshah2608@gmail.com>
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