{"id":15028589,"url":"https://github.com/vagnercardosoweb/docker-php8","last_synced_at":"2025-04-05T22:03:31.333Z","repository":{"id":50707578,"uuid":"190684957","full_name":"vagnercardosoweb/docker-php8","owner":"vagnercardosoweb","description":"Docker with php8.2+, apache, mysql, postgresql, phpmyadmin, redis, nginx and pgadmin","archived":false,"fork":false,"pushed_at":"2024-08-16T17:59:28.000Z","size":33,"stargazers_count":170,"open_issues_count":8,"forks_count":253,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-29T21:02:45.670Z","etag":null,"topics":["apache","docker","docker-compose","mysql","pgadmin4","php","php82","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/vagnercardosoweb.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":"2019-06-07T03:52:36.000Z","updated_at":"2025-03-20T14:40:45.000Z","dependencies_parsed_at":"2024-03-16T20:56:03.266Z","dependency_job_id":"b137a09a-3e08-449f-b3a4-10f1fe278d7c","html_url":"https://github.com/vagnercardosoweb/docker-php8","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vagnercardosoweb%2Fdocker-php8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vagnercardosoweb%2Fdocker-php8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vagnercardosoweb%2Fdocker-php8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vagnercardosoweb%2Fdocker-php8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vagnercardosoweb","download_url":"https://codeload.github.com/vagnercardosoweb/docker-php8/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406084,"owners_count":20933803,"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":["apache","docker","docker-compose","mysql","pgadmin4","php","php82","postgresql"],"created_at":"2024-09-24T20:08:42.272Z","updated_at":"2025-04-05T22:03:31.314Z","avatar_url":"https://github.com/vagnercardosoweb.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker with PHP 8.3.4\n\nThis repository aims to facilitate the creation of a development environment with php 8.3.4\n\n## What's in the environment:\n\n- [Nginx](https://www.nginx.com/)\n- [PhpFpm](https://php.net/)\n- [Apache2](https://httpd.apache.org/)\n- [MySQL](https://www.mysql.com/)\n- [MariaDB](https://mariadb.com/)\n- [PhpMyAdmin](https://www.phpmyadmin.net/)\n- [PgAdmin](https://www.pgadmin.org/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Redis](https://redis.io/)\n\n## Prerequisites:\n\n- [Install Docker](https://docs.docker.com/install/)\n- [Install Docker Compose](https://docs.docker.com/compose/install/)\n\n## How to use:\n\n- Clone the repository\n- Enter the repository folder\n- Run the `docker-compose up` command\n  - if you want to run in background mode, run the command `docker-compose up -d`\n- Access the address `http://localhost:8080` to access phpmyadmin\n  - user access\n    - user: mysql\n    - password: mysql\n    - host: mysql\n  - root access\n    - user: root\n    - password: root\n    - host: mysql\n- Access the address `http://localhost:8081` to access pgadmin\n  - user: admin@localhost.com\n  - password: admin\n- Access the address `http://localhost` to access the project\n\n## Persistent data:\n\n- mysql data: `./docker/mysql/dbdata`\n- postgresql data: `./docker/postgresql/dbdata`\n- redis data: `./docker/redis`\n\n## PHP INI Config:\n\nLocal php.ini configuration is located in the `./docker/php/php.ini` file.\n\n```ini\n[PHP]\nlog_errors=On\nxmlrpc_errors=On\nhtml_errors=On\ndisplay_errors=On\ndisplay_startup_errors=On\nreport_memleaks=On\nerror_reporting=E_ALL\nfile_uploads=On\nmax_execution_time=120\nmax_input_time=120\nsession.gc_maxlifetime=1440\npost_max_size=50M\nupload_max_filesize=45M\nmax_file_uploads=20\nvariables_order=\"EGPCS\"\nmax_input_vars=10000\nmax_input_nesting_level=64\ndate.timezone=UTC\nmemory_limit=512M\nexpose_php=On\n\n[opcache]\nopcache.enable=true\nopcache.enable_cli=true\nopcache.jit=tracing\n\n[intl]\nintl.default_locale=en_utf8\n\n[xdebug]\nxdebug.client_host=host.docker.internal\nxdebug.client_port=9003\nxdebug.discover_client_host=0\nxdebug.start_with_request=yes\nxdebug.remote_handler=dbgp\nxdebug.idekey=PHPSTORM\nxdebug.mode=debug,develop\nxdebug.cli_color=1\n```\n\n## PHP Modules:\n\n```\n[PHP Modules]\n  apcu\n  bcmath\n  Core\n  ctype\n  curl\n  date\n  dom\n  exif\n  fileinfo\n  filter\n  gd\n  gmp\n  hash\n  iconv\n  imap\n  intl\n  json\n  libxml\n  mbstring\n  mongodb\n  mysqli\n  mysqlnd\n  openssl\n  pcntl\n  pcre\n  PDO\n  pdo_mysql\n  pdo_pgsql\n  pdo_sqlite\n  pgsql\n  Phar\n  posix\n  random\n  readline\n  redis\n  Reflection\n  session\n  SimpleXML\n  soap\n  sockets\n  sodium\n  SPL\n  sqlite3\n  ssh2\n  standard\n  sysvmsg\n  sysvsem\n  sysvshm\n  tokenizer\n  xdebug\n  xml\n  xmlreader\n  xmlwriter\n  xsl\n  yaml\n  Zend OPcache\n  zip\n  zlib\n\n[Zend Modules]\n  Xdebug\n  Zend OPcache\n```\n\n## Comments:\n\nThe project starts the services of `nginx`, `php`, `mysql`, `postgresql`, `phpmyadmin`, `pgadmin`\nand `redis` by default, if you want to use `apache2`, `mariadb` you need to comment the services\nthat are being used and enable the services you want to use on the\n`docker-compose.yml` file.\n\n## License:\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvagnercardosoweb%2Fdocker-php8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvagnercardosoweb%2Fdocker-php8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvagnercardosoweb%2Fdocker-php8/lists"}