deployer Docker & Self-Hosted Deployment

GitHub

The PHP deployment tool with support for popular frameworks out of the box

11,067 stars PHP PHP 1 file ยท ~1,255 tokens #deploy#deployment#php#provision#tool
1. Pull Image (DOCKERHUB) docker pull deployphp/deployer:latest
2. Docker Run (1-Click Launch) docker run -d --name deployer --restart always deployphp/deployer:latest
3. Podman Run podman run -d --name deployer --restart always deployphp/deployer:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/deployphp/deployer:latest
5. ORAS Pull (OCI Artifact) oras pull deployphp/deployer:latest
Dockerfile
FROM php:8.5-cli-alpine

RUN set -eux; \
    apk add --no-cache \
        bash \
        git \
        libzip \
        openssh-client \
        rsync \
        unzip \
        zip; \
    apk add --no-cache --virtual .build-deps \
        libzip-dev \
        linux-headers; \
    docker-php-ext-install -j"$(nproc)" pcntl sockets zip; \
    apk del .build-deps

COPY --chmod=755 deployer.phar /bin/dep

WORKDIR /app

ENTRYPOINT ["/bin/dep"]