mudler / mudler/LocalRecall

[Feature request] Secrets

Open
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
974
Forks
121
Avg merge
5h 52m
Merged PRs (30d)
1

Description

Is it possible to add the environment variables

ENV POSTGRES_USER_FILE=/run/secrets/user
ENV POSTGRES_PASSWORD_FILE=/run/secrets/password

just as MariaDB and PostgreSQL official images do, so that sensitive information could be removed from docker-compose.yml and moved to secrets?

That would be great in other Docker images of the LocalAI ecosystem as well.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Dockerfile and docker-compose.yml to identify how PostgreSQL and MariaDB credentials are currently configured, then check the other LocalRecall Docker images mentioned in the request. Done means the images accept the *_FILE secret variables and sensitive credentials can be moved out of docker-compose.yml.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.