Skip to content

fadilxcoder/docker-env

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 

NGINX / APACHE / PHP-FPM / ADMINER

Example :

FROM php:7.2-cli

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN chmod +x /usr/local/bin/install-php-extensions && \
    install-php-extensions gd xdebug
  • To verify if extension is present, use command : php -m|grep mysql for example
  • Connect to App Terminal : docker exec -it fx_php_fpm ash
  • Verify if container is UP : docker ps

NOTES

DETAILS

  • PHP : 8.1.5
  • NGINX : nginx/1.21.6
  • MySQL version : 10.7.3-MariaDB-1:10.7.3+maria~focal

URL

About

Docker Environment Configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published