Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add envsubst so dns-conf credentials can be added from container environment variables

オープン
#276 コメント 7 件 リアクション 6 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
dockerfile
領域
devops

調査の方向性

まずコンテナの起動経路をたどり、issue で言及されている compose または .env の入力と併せて /config/dns-conf/cloudflare.ini を確認します。イメージ内で envsubst を利用できる状態がどのようになっているか、また他の DNS プロバイダーのファイルも同じパターンに従っているかを確認します。対応する環境変数によって起動時に設定が埋められ、追跡対象のファイルに認証情報を重複して記載する必要がなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

awaiting-approval

Desired Behavior

Instead of editing /config/dns-conf/cloudflare.ini to hardcode email and API key/token and drag that sensitive credentials through Git (my case), I'd like to have envsubst triggered on container start that takes environment variables like EMAIL and CF_API_TOKEN and replaces those environment variables in files.

Considering user already adds these values to their compose or .env file, it makes little sense to have same creds added in multiple locations if they can be added automatically.

I'm guessing this behavior is applicable to other DNS providers as well.

Current Behavior

The user needs to add the same environment variable values multiple times, once in compose file and second time to cloudflare.ini.

Alternatives Considered

Manually maintaining the same values in multiple places and accidentally checking sensitive creds to git for people who version their setups.

主要言語
Dockerfile
スター
3.7k
フォーク
275
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxserver/docker-swag のほかの issue

linuxserver/docker-swag の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。