[Feature request] Secrets
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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