GithubHelp home page GithubHelp logo

balalaikaboy / docker-nginx-php-fpm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lobsterk/docker-nginx-php-fpm

0.0 1.0 0.0 59 KB

docker image build

Home Page: https://hub.docker.com/r/lobsterk/web-nginx-php/

Shell 32.23% PHP 0.62% Dockerfile 67.15%

docker-nginx-php-fpm's Introduction

docker web server

Image versions

Image Version Base Image Version Nginx Version PHP Version Composer Ver Nodejs Ver NPM Ver
2.0.0 Ubuntu 20.04 1.18.0 7.4.3 2.0.9 15.7.0 7.4.3

List PHP modules:

[PHP Modules]
amqp bcmath calendar Core ctype curl date  dom exif fileinfo filter ftp gd gettext gmp hash
iconv intl json ldap libxml mbstring mcrypt mongodb mysqli mysqlnd openssl pcntl pcre PDO
pdo_mysql Phar posix redis readline Reflection session shmop SimpleXML soap sockets SPL standard 
sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlrpc xmlwriter xsl Zend OPcache zip zlib
[Zend Modules]
Zend OPcache

Addition:

git mc curl

Simple run project
docker run -d -p 8080:80 \
      --rm \
      -v $(pwd)/www/:/var/www/public/ \
      --name docker-nginx-php-fpm \
      lobsterk/web-nginx-php
Run project with docker compose
version: '3'

### Services
services:
  ### Web Server Container
  web:
    image: lobsterk/web-nginx-php
    container_name: web
    restart: always
    ports:
      - "8172:80"
    volumes:
      - ./www:/var/www/public
      - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf
      - ./php-fpm/php.ini:/etc/php/7.4/fpm/php.ini
      - ./php-fpm/php-fpm.conf:/etc/php/7.4/fpm/php-fpm.conf

Enter container bash

docker exec -it test-docker /bin/bash

docker-nginx-php-fpm's People

Contributors

lobsterk avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.