{"id":20386321,"url":"https://github.com/accgit/docker","last_synced_at":"2026-02-21T11:01:04.694Z","repository":{"id":252036191,"uuid":"193874684","full_name":"accgit/docker","owner":"accgit","description":":whale: Setting docker for php server.","archived":false,"fork":false,"pushed_at":"2023-02-27T05:39:08.000Z","size":46301,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-27T22:57:09.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/accgit.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-26T09:35:58.000Z","updated_at":"2022-07-31T14:05:29.000Z","dependencies_parsed_at":"2024-08-07T10:48:14.988Z","dependency_job_id":null,"html_url":"https://github.com/accgit/docker","commit_stats":null,"previous_names":["accgit/docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/accgit/docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accgit%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accgit%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accgit%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accgit%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/accgit","download_url":"https://codeload.github.com/accgit/docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accgit%2Fdocker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-15T02:37:11.556Z","updated_at":"2026-02-21T11:01:04.678Z","avatar_url":"https://github.com/accgit.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Docker PHP\nDocker configuration for your own server.\n\n## Docker ldap for PHP\n```\nRUN apt install libldap2-dev -y\nRUN docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/\nRUN docker-php-ext-install ldap\n```\n\n## Docker intl for PHP\n```\nRUN apt -y update \\\n\u0026\u0026 apt install -y libicu-dev \\\n\u0026\u0026 docker-php-ext-configure intl \\\n\u0026\u0026 docker-php-ext-install intl\n```\n\n## Docker gd for PHP\n```\nRUN apt install libfreetype6-dev libjpeg62-turbo-dev libpng-dev -y\nRUN docker-php-ext-configure gd --with-freetype --with-jpeg\nRUN docker-php-ext-install gd\n```\n\n# Docker php configuration for apache\n```\nCOPY conf/php.ini /usr/local/etc/php/conf.d\n```\n\n# Docker generate certificate for server\n\nAdd configure ssl for apache\n```\nRUN a2enmod ssl\nRUN apt install -y ca-certificates\n```\n\n# Docker copy certificate to container\n```\nCOPY cert/* /etc/apache2/ssl/\n```\n\nThe ports in Dockerfile:\n```\nEXPOSE 80 443\n```\n\nThe ports in docker-compose.yml:\n```\nphp:\n    ports:\n        - 443:443\n```\n\nApache configuration ssl:\n\n```\nCOPY conf/000-default.conf /etc/apache2/sites-available/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccgit%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccgit%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccgit%2Fdocker/lists"}