• Stars
    star
    1,673
  • Rank 27,936 (Top 0.6 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 9 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ“¦ Dockerfiles from WebDevOps for PHP, Apache and Nginx

PHP docker images with super powers πŸš€

We provide images which extend the official PHP-Images. We add additional stuff like:

  • almost any PHP module preinstalled
  • configuration based on ENV variables
  • run multiple services (like php-fpm and nginx) with supervisord

GitHub issuesGitHub forksGitHub starsGitHub license pipeline status

Automated build and test running on Gitlab CI (GitLab.com CI custom Google Cloud runner) sponsored by Onedrop GmbH & Co. KG.

Docker layout

Communication and support

Or write an issue in our GitHub repository.

Or join our discord https://discord.gg/gnYPfZhX

Build process

File generation

The general build process is currently a mixture of python jinja2 legacy and PHP.

First we build the files inside the docker directory using this command:

docker run --rm -ti -v $PWD:/app -w /app webdevops/dockerfile-build-env make provision

It will use the Jinja2 templates inside of the template directory and the config files from the provisioning directory.

The files in the docker directory are never modified manually

This will be replaced with PHP twig templates in the future to streamline everything.

Building in CI

We generate a multi stage Gitlab-CI configuration using PHP:

docker run --rm -ti -v $PWD:/app -w /app/ci webdevops/php:8.1 composer install
docker run --rm -ti -v $PWD:/app -w /app webdevops/php:8.1 ci/console gitlab:generate

Gitlab CI builds every image independant and runs serverspec and structure tests on every image before pushing them to the registry.

Documentation

As in many projects the documentation is kind of up to date πŸ˜….

Debian PHP

The following images which are currently supported are based on php:{VER}-fpm-buster.

  • webdevops/php:7.4
  • webdevops/php:8.0
  • webdevops/php:8.1
  • webdevops/php:8.2
  • webdevops/php-dev:7.4
  • webdevops/php-dev:8.0
  • webdevops/php-dev:8.1
  • webdevops/php-dev:8.2
  • webdevops/php-apache:7.4
  • webdevops/php-apache:8.0
  • webdevops/php-apache:8.1
  • webdevops/php-apache:8.2
  • webdevops/php-apache-dev:7.4
  • webdevops/php-apache-dev:8.0
  • webdevops/php-apache-dev:8.1
  • webdevops/php-apache-dev:8.2
  • webdevops/php-nginx:7.4
  • webdevops/php-nginx:8.0
  • webdevops/php-nginx:8.1
  • webdevops/php-nginx:8.2
  • webdevops/php-nginx-dev:7.4
  • webdevops/php-nginx-dev:8.0
  • webdevops/php-nginx-dev:8.1
  • webdevops/php-nginx-dev:8.2

Alpine PHP

The following images which are currently supported are based on php:{VER}-fpm-alpine.

  • webdevops/php:7.4-alpine
  • webdevops/php:8.0-alpine
  • webdevops/php:8.1-alpine
  • webdevops/php:8.2-alpine
  • webdevops/php-dev:7.4-alpine
  • webdevops/php-dev:8.0-alpine
  • webdevops/php-dev:8.1-alpine
  • webdevops/php-dev:8.2-alpine
  • webdevops/php-apache:7.4-alpine
  • webdevops/php-apache:8.0-alpine
  • webdevops/php-apache:8.1-alpine
  • webdevops/php-apache:8.2-alpine
  • webdevops/php-apache-dev:7.4-alpine
  • webdevops/php-apache-dev:8.0-alpine
  • webdevops/php-apache-dev:8.1-alpine
  • webdevops/php-apache-dev:8.2-alpine
  • webdevops/php-nginx:7.4-alpine
  • webdevops/php-nginx:8.0-alpine
  • webdevops/php-nginx:8.1-alpine
  • webdevops/php-nginx:8.2-alpine
  • webdevops/php-nginx-dev:7.4-alpine
  • webdevops/php-nginx-dev:8.0-alpine
  • webdevops/php-nginx-dev:8.1-alpine
  • webdevops/php-nginx-dev:8.2-alpine

More Repositories

1

php-docker-boilerplate

🍲 PHP Docker Boilerplate for Symfony, Wordpress, Joomla or any other PHP Project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
JavaScript
562
star
2

TYPO3-docker-boilerplate

🍲 TYPO3 Docker Boilerplate project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
Shell
233
star
3

azure-devops-exporter

Prometheus exporter for Azure DevOps (VSTS) including agent pools, builds, releases, deployments, pullrequests and repo stats
Go
147
star
4

azure-metrics-exporter

Azure Monitor metrics exporter for Prometheus with dimension support, template engine and ServiceDiscovery
Go
125
star
5

go-crond

⏰ Cron daemon written in golang (for eg. usage in docker images)
Go
124
star
6

vagrant-docker-vm

πŸ’» Development Vagrant VM with Docker, Samba and Mail sandbox (customizable)
Shell
87
star
7

clitools

πŸ”§ CliTools for Docker, PHP / MySQL development, debugging and synchonization
PHP
84
star
8

go-sync

πŸ” CLI synchronization utility to sync project files and databases for your local project with SSH and Docker support
Go
67
star
9

pagerduty-exporter

Prometheus exporter for PagerDuty informations
Go
55
star
10

go-replace

Replace in file console utility written in golang (for eg. usage in docker images)
Go
50
star
11

TYPO3-metaseo

TYPO3 MetaSEO Extension
PHP
38
star
12

samson-deployment

πŸš€ ZenDesk Samson deployment as Docker service with Ansistrano, Capistrano and PHP Deployer
Shell
35
star
13

azure-resourcemanager-exporter

Prometheus exporter for Azure ResourceManager informations (infos, quotas, limits, usages, public IPs, portscanner)
Go
33
star
14

Neos-docker-boilerplate

🍲 NEOS Docker Boilerplate project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
JavaScript
18
star
15

alertmanager2es

Collects alertmanager alerts and pushes them to ElasticSearch (fork from cloudflare)
Go
15
star
16

azure-keyvault-exporter

Prometheus exporter for Azure Keyvault entries (expiry date)
Go
14
star
17

helm-azure-tpl

Helm plugin and standalone tool for Azure - injecting Azure information and KeyVault secrets into files using go template engine
Go
13
star
18

public-holiday-exporter

Prometheus exporter for public holidays
Go
9
star
19

azure-loganalytics-exporter

Prometheus exporter for Azure LogAnalytics (Kusto queries)
Go
9
star
20

azure-scheduledevents-exporter

Prometheus exporter for Azure ScheduledEvents (announced maintenance windows)
Go
9
star
21

go-syslogd

Syslog daemon (with named pipes support) written in golang (for eg. usage in docker images)
Go
8
star
22

azure-resourcegraph-exporter

Prometheus exporter for Azure ResourceGraph queries
Go
7
star
23

php-docker

[DEPRECATED] Prebuilt PHP Docker images for PHP Docker Boilerplate
7
star
24

shelly-plug-exporter

Prometheus exporter for Shelly plugs
Go
6
star
25

azure-janitor

Janitor for Azure Resources, ResourceGroups, Deployments and RoleAssignments by ttl
Go
6
star
26

azure-auditor

Audit service for Azure cloud with Prometheus violation metrics
Go
6
star
27

azure-scheduledevents-manager

Azure Scheduledevents manager for kubernetes and VMs (automatic drain and Prometheus metrics)
Go
6
star
28

go-devtool

πŸ”§ Developer operations toolbox for MySQL, PostgreSQL and TYPO3
Go
5
star
29

deadmanssnitch-exporter

Prometheus exporter for DeadMansSnitch
Go
5
star
30

apprelease-exporter

Prometheus exporter for GItHub Tags/Releases and Docker repositories with CVE reports
Go
5
star
31

azure-k8s-autopilot

K8S operator for Azure VMSS/VM for automatic repair and update
Go
4
star
32

k8s-rollingupdate

Rolling update trigger for Kubernetes Deployments, Daemonsets and Statefulsets
Go
4
star
33

gq-gmc-exporter

Prometheus exporter for GQ GMC (Geiger–Muller counter) devices
Go
4
star
34

azuredevops-deployment-operator

Operator which takes care of automated (re)deployments
Go
3
star
35

Docker-Image-Baselayout

Shell
3
star
36

azure-msi-operator

Operator for Azure Managed Service Identity inside Kubernetes (aad-pod-identity)
Go
3
star
37

myuplink-exporter

Prometheus exporter for myuplink.com
Go
2
star
38

pagerduty2es

Exporter for incidents and logentries from PagerDuty to ElasticSearch
Go
2
star
39

simulation-exporter

Prometheus exporter for simluated metrics (for testing)
Go
2
star
40

TYPO3-context-loader

πŸ”§ Context configuration loader for TYPO3 (TYPO3_CONTEXT)
PHP
2
star
41

go-common

Common golang library for Prometheus exporters
Go
2
star
42

fenecon-exporter

Prometheus exporter for Fenecon systems
Go
2
star
43

azure-audit-exporter-old

Prometheus exporter for Azure audit metrics
Go
1
star
44

WebDevOps_Documentation

WebDevOps documentation (work in progress)
1
star
45

kube-pool-manager

Manages Kubernetes pools (annotation, labels, roles, configSource) by any node spec (json path support)
Go
1
star
46

go-stubfilegenerator

Stub file generator written in go
Go
1
star
47

azure-k8s-autorepair

Automatic repair of K8s cluster nodes in Azure
Go
1
star
48

vagrant-vm-disk

Vagrant Optional Repository for VM disks
1
star
49

kube-bootstrap-token-manager

Manager for Kubernetes bootstrap tokens with cloud support
Go
1
star