{"id":15482527,"url":"https://github.com/btr1975/apache-py2-django","last_synced_at":"2026-04-09T02:31:38.203Z","repository":{"id":145588272,"uuid":"95363080","full_name":"btr1975/apache-py2-django","owner":"btr1975","description":"Dockerfile to Build Web Server for Django Apps Python","archived":false,"fork":false,"pushed_at":"2018-01-23T17:26:13.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T15:15:46.196Z","etag":null,"topics":["apache","django","django-apps-python","django-localflavor","docker","docker-image","dockerfile","mod-wsgi","mysql","mysql-python","py2-django","python","ubuntu","wsgi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btr1975.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-25T13:58:20.000Z","updated_at":"2018-12-20T07:13:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"906f59cb-65bd-471d-b654-f9f39eedd28f","html_url":"https://github.com/btr1975/apache-py2-django","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/btr1975/apache-py2-django","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btr1975%2Fapache-py2-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btr1975%2Fapache-py2-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btr1975%2Fapache-py2-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btr1975%2Fapache-py2-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btr1975","download_url":"https://codeload.github.com/btr1975/apache-py2-django/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btr1975%2Fapache-py2-django/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["apache","django","django-apps-python","django-localflavor","docker","docker-image","dockerfile","mod-wsgi","mysql","mysql-python","py2-django","python","ubuntu","wsgi"],"created_at":"2024-10-02T05:09:24.040Z","updated_at":"2026-04-09T02:31:38.189Z","avatar_url":"https://github.com/btr1975.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker-Image: apache-py2-django\n\n## Created By: Benjamin P. Trachtenberg\n\n### Contact Information:  e_ben_75-python@yahoo.com\n### If you have any questions e-mail me\n\n### LinkedIn: [Ben Trachtenberg](https://www.linkedin.com/in/ben-trachtenberg-3a78496)\n### Docker Hub: [Image](https://hub.docker.com/r/btr1975/apache-py2-django/)\n\n### About\n\nThis image is for Python Django Apps written in Python 2\n\n### Image Versions in apache-py2-django:1.1\n\n* Python: 2.7.12\n* Apache: 2.4.18 (Ubuntu) with mod_wsgi\n* Django: 1.11.2\n* Django-Localflavor: 1.5.1\n* MySQL-python: 1.2.5\n\n### Image Versions in apache-py2-django:1.2\n\n* Python: 2.7.12\n* Apache: 2.4.18 (Ubuntu) with mod_wsgi\n* Django: 1.11.2\n* Django-Localflavor: 1.5.1\n* MySQL-python: 1.2.5\n* apache-site-conf.py: 1.0.0.prod\n\n### Image Versions in apache-py2-django:1.3\n\n* Python: 2.7.12\n* Apache: 2.4.18 (Ubuntu) with mod_wsgi\n* Django: 1.11.2\n* Django-Localflavor: 1.5.1\n* MySQL-python: 1.2.5\n* apache-site-conf.py: 1.0.1.prod\n* apache-site-conf.sh: 1.0 prod\n\n### Image Versions in apache-py2-django:1.4\n\n* Added ENV SITE_DIRECTORY_NAME, to bot conf build scripts, to helb build easier\n\n### Docker-Image Version Tags\n* latest\n* 1.1\n* 1.2\n* 1.3\n* 1.4\n\n#### -- Version News: apache-py2-django:1.3 --\nUpdated Python script that builds the apache conf file\nAdded a bash script that builds the apache conf file\nBoth scripts do the same thing, so use whichever you want.\n\n### Important usage info\n```\nThere are 3 important ENV varibales you should use when using this\n\nENV SITE_SERVER_NAME\nENV SITE_SERVER_ADMIN\nENV SITE_DIRECTORY_NAME\n\nSet these befor running the apache-site-conf.py, or apache-site-conf.sh script.\n\n```\n\n### Example Dockerfile\n```yaml\nFROM btr1975/apache-py2-django:1.4\n\nENV SITE_SERVER_NAME=\"www.example.com\"\nENV SITE_SERVER_ADMIN=\"admin@example.com\"\nENV SITE_DIRECTORY_NAME=\"SomeDir\"\n\nCOPY ./SomeDir .\n\nRUN chmod 755 -R /DjangoSites \\\n    \u0026\u0026 /bin/apache-site-conf.sh\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtr1975%2Fapache-py2-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtr1975%2Fapache-py2-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtr1975%2Fapache-py2-django/lists"}