odoo / odoo/docker

Add support for docker secrets

Open
#143 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Can you add support for docker secrets. Mysql, mariadb and postgres all use solution, which propably is easy to copy, ready shell function available. For example if you have env variable ending _FILE, contents of that file will be used to set password. If not, environmental variable is used instead.

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

Locate the Docker entrypoint or configuration used for MySQL, MariaDB, and PostgreSQL, then compare how their existing environment handling relates to the requested _FILE behavior. Done means a secret file supplies the value when the corresponding variable ends in _FILE, while the environment variable remains the fallback.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.