appleple/acms-dev

By appleple

Updated 3 days ago

PHP images for the a-blog cms local development environment.

Image
Languages & frameworks
Web servers
Content management system
0

1.5K

appleple/acms-dev repository overview

a-blog cms Docker Images (development)

PHP + Apache runtime images for local development of a-blog cms. a-blog cms itself is not bundled — mount your own project.

Source & docs: https://github.com/appleple/acms-development-docker-images

Supported tags

7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5 (= latest)

Multi-arch: linux/amd64, linux/arm64.

Usage

services:
  www:
    image: appleple/acms-dev:8.5
    restart: always
    volumes:
      - ./www:/var/www/html
    ports:
      - "80:80"
    environment:
      APACHE_DOCUMENT_ROOT: /var/www/html
      # XDEBUG: "true"   # enable Xdebug (default: off)
      # PUID: "1000"     # match host uid/gid (Linux volume perms)
      # PGID: "1000"

privileged: true is not required — everything the entrypoint does works with a normal container.

Environment variables

  • APACHE_DOCUMENT_ROOT — document root
  • XDEBUG=true — enable Xdebug at startup (opcache disabled while on)
  • PUID / PGID — map the Apache user (www-data) to host uid/gid

Availability

HEALTHCHECK detects whether Apache is responding, but plain Docker does not restart a container just because it's unhealthy (restart policies only trigger on process exit). This image runs Apache as the container's PID1, so if Apache crashes the container itself exits — with restart: always (as above), it will be recovered correctly at that point.

PCOV is bundled for coverage:

php -d pcov.enabled=1 vendor/bin/phpunit --coverage-text

Tag summary

Content type

Image

Digest

sha256:9cdc68dcd

Size

222.3 MB

Last updated

3 days ago

docker pull appleple/acms-dev:8.4