Search by

drago-ex / project-docker

accgit

Basic configuration of a php server on docker.

Package info

github.com/drago-ex/project-docker

Language:Dockerfile

Type:drago-tools-resource

pkg:composer/drago-ex/project-docker

Statistics

Installs: 611

Dependents: 6

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.10 2026-10-17 13:33 UTC

This package is auto-updated.

Last update: 2026-10-25 08:48:45 UTC


README

English | Čeština

Basic Docker configuration for a PHP server.

PHP version Coding Style

Requirements

  • PHP >= 8.3, < 9
  • Docker

Installation

composer require drago-ex/project-docker

Project files

File copying is handled automatically by drago-ex/project-tools, which must be installed in your project. Without it, copy the files manually according to the copy section in this package's composer.json. To skip this package, set "skip": true under extra.drago-tools.packages.<package-name> in your root composer.json.

PHP extensions

The image has GD (JPEG, PNG, WebP) for resizing uploaded images and intl for slugs made from names; docker/conf/php.ini sets the upload limits (64 MB) and memory_limit (256 MB, enough to resize photos).

Docker commands

The available Docker scripts are listed in package.json. It is not copied into the project; add the scripts you want to the scripts of your own package.json.