Skip to content

General use Docker images for projects

Notifications You must be signed in to change notification settings

druidfi/docker-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General use Docker images for projects

PHP images Nginx images Database images Misc images

See https://hub.docker.com/u/druidfi for all the images.

Shared for all PHP images

Features:

  • Workdir: /app
  • User: druid (1000) and added to sudoers
  • Packages installed: bash, curl, git, make, nano, neofetch and tini
  • SHELL: bash
  • Entrypoint with tini

ENV variables:

  • ALPINE_VERSION
  • APP_PATH=/app
  • DEFAULT_USER=druid
  • DEFAULT_USER_UID=1000
  • KIND=druid-docker-image

druidfi/php variant

Tags:

  • druidfi/php:8.1 and druidfi/php:8.1.x
  • druidfi/php:8, druidfi/php:8.2, druidfi/php:8.2.x and druidfi/php:latest
  • druidfi/php:8.3 and druidfi/php:8.3.x

Added features:

  • Minimal set of PHP extensions
  • Composer 2.x.x
  • /app/vendor/bin added to $PATH

druidfi/php-fpm variant

Tags:

  • druidfi/php-fpm:8.1, druidfi/php-fpm:8.1.x
  • druidfi/php-fpm:8, druidfi/php-fpm:8.2, druidfi/php-fpm:8.2.x and druidfi/php-fpm:latest
  • druidfi/php-fpm:8.3, druidfi/php-fpm:8.3.x

Added features:

  • PHP-FPM running and configured
  • PHP-FPM runs with www-data:www-data

druidfi/drupal variant

Tags:

  • druidfi/drupal:8.1, druidfi/drupal:8.1.x
  • druidfi/drupal:8, druidfi/drupal:8.2, druidfi/drupal:8.2.x and druidfi/drupal:latest
  • druidfi/drupal:8.3, druidfi/drupal:8.3.x

Added features:

  • PHP extensions needed by Drupal

Needs:

  • Nginx (druidfi/nginx:1.25-drupal)
  • Database (druidfi/mariadb:10.11-drupal-lts)

ENV variables:

  • DRUPAL_DB_NAME=drupal
  • DRUPAL_DB_USER=drupal
  • DRUPAL_DB_PASS=drupal
  • DRUPAL_DB_HOST=db
  • DRUPAL_DB_PORT=3306

druidfi/drupal-web variant

  • druidfi/drupal-web:php-8.1, druidfi/drupal-web:php-8.1.x
  • druidfi/drupal-web:php-8, druidfi/drupal-web:php-8.2, druidfi/drupal-web:php-8.2.x and druidfi/drupal-web:latest
  • druidfi/drupal-web:php-8.3, druidfi/drupal-web:php-8.3.x

Added features:

  • Nginx with Drupal specific configuration
  • Nginx runs with user nginx

Needs:

  • Database (druidfi/mariadb:10.11-drupal-lts)

druidfi/drupal-test variant

  • druidfi/drupal-test:8.2 based on druidfi/drupal-web:8.2

Added features:

  • Drupal 10 installation and some contrib modules

Needs:

  • Database (druidfi/mariadb:10.11-drupal-lts)

druidfi/nginx

Base variant

  • 1.24 stable based on nginx:1.24-alpine
  • 1.25 mainline based on nginx:1.25-alpine

Added features:

  • Default Nginx configuration

Drupal variant

  • 1.24-drupal based on druidfi/nginx:1.24
  • 1.25-drupal based on druidfi/nginx:1.25

Added features:

  • Drupal specific Nginx configuration
  • Expects that PHP in running at app:9000
  • PHP backend can be changed with BACKEND_SERVICE=app and BACKEND_SERVICE_PORT=9000