-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add GDPR_EMAIL environment variable for Docker deployments #743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
Co-authored-by: sstidl <12804296+sstidl@users.noreply.github.com>
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
The privacy policy in HTML files contains hardcoded placeholder text "TO BE FILLED BY DEVELOPER" for the GDPR deletion request contact email, requiring source modification for production deployments.
Changes
GDPR_EMAILenvironment variable that replaces placeholders inindex-modern.htmlandindex-classic.htmlduring container startupGDPR_EMAILto environment variable list indoc_docker.mdwith docker-compose exampleImplementation
Usage
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
PR Type
Enhancement
Description
Add GDPR_EMAIL environment variable for Docker deployments
Replace hardcoded email placeholders in HTML files at startup
Implement proper sed escaping for special characters
Document GDPR_EMAIL in Docker configuration guide
Diagram Walkthrough
File Walkthrough
entrypoint.sh
Add GDPR email placeholder replacement logicdocker/entrypoint.sh
placeholders
doc_docker.md
Document GDPR_EMAIL environment variabledoc_docker.md