{"id":20513478,"url":"https://github.com/defectdojo/django-init-settings","last_synced_at":"2025-03-05T23:13:47.776Z","repository":{"id":77505516,"uuid":"293535647","full_name":"DefectDojo/django-init-settings","owner":"DefectDojo","description":"Init container for settings.py","archived":false,"fork":false,"pushed_at":"2020-09-07T13:50:37.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-29T22:45:06.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DefectDojo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-09-07T13:27:24.000Z","updated_at":"2023-09-07T15:21:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4205f15-3a31-4165-b1f6-57468e9f923d","html_url":"https://github.com/DefectDojo/django-init-settings","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"c455af85e75e0b9ee77cda2c4971b9ae81722b62"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefectDojo%2Fdjango-init-settings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefectDojo%2Fdjango-init-settings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefectDojo%2Fdjango-init-settings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefectDojo%2Fdjango-init-settings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DefectDojo","download_url":"https://codeload.github.com/DefectDojo/django-init-settings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242117717,"owners_count":20074438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T21:11:19.688Z","updated_at":"2025-03-05T23:13:47.754Z","avatar_url":"https://github.com/DefectDojo.png","language":"Python","readme":"# django-init-settings\nInit container for settings.py\n\nUsing https://github.com/hairyhenderson/gomplate, process a templatized settings.dist.py to create a custom settings.py with our values.\nThis is meant to be used as an initContainer in Kubernetes.\n\n`/settings.src.py (templatized settings.dist.py) --\u003e gomplate with /values/settings.yaml --\u003e /settings/settings.py`\n\n## Example with docker\n```\n$ docker run --rm -v $(pwd)/settings:/settings -v $(pwd)/values:/values defectdojo/django-init-settings -f /settings.src.py -d settings=file:///values/settings.yaml -o /settings/settings.py\n```\n\nwill produce a process `settings.py` in the `settings` volume. Remove the `-o` to view the result on STDOUT.\n\nFor more documentation on gomplate, please visit the official github repo at https://github.com/hairyhenderson/gomplate.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefectdojo%2Fdjango-init-settings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefectdojo%2Fdjango-init-settings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefectdojo%2Fdjango-init-settings/lists"}