mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2026-04-26 16:15:54 +03:00
[PR #168] [MERGED] Docker: Move configuration to runtime rather than build time #187
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
question
upstream
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsedit#187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tuxis-ie/nsedit/pull/168
Author: @hreeder
Created: 3/19/2018
Status: ✅ Merged
Merged: 3/28/2018
Merged by: @tuxis-ie
Base:
master← Head:master📝 Commits (1)
a2d7c21Move configuration to runtime rather than build time📊 Changes
2 files changed (+16 additions, -12 deletions)
View changed files
📝
Dockerfile(+3 -12)➕
docker-entrypoint.sh(+13 -0)📄 Description
I wanted to deploy this to my docker environment however I don't want our credentials baked in to the image, so I moved the sed lines out from the Dockerfile into an entrypoint script to allow you to set the three configuration variables (IP/Password/Port) at runtime.
I also made it such that the port is optional, and only changes
config.inc.phpif the environment variable is set.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.