Sign inSign up

smyrnof/api-php

By smyrnof

Updated over 8 years ago

Php api service (PHP and NGINX)

Image
0

193

smyrnof/api-php repository overview

Php Extensions:

bcmath, intl, opcache, mysqli, pdo, pdo_mysql, curl, mbstring, mcrypt, hash, simplexml, soap, xml, xsl, zip, json, iconv, gd, redis, xdebug, apcu


Docker
 docker run -d smyrnof/api-php -v /path/nginx.conf:/etc/nginx/nginx.conf -v /path/php.ini:/usr/local/etc/php/php.ini -v /path/source:/usr/share/nginx/html -p 80:80 -p 443:443

Docker Compose
  api-php:
    image: smyrnof/api-php
    volumes:
      - /path/nginx.conf:/etc/nginx/nginx.conf
      - /path/php.ini:/usr/local/etc/php/php.ini      
      - /path/source:/usr/share/nginx/html
    ports:
      - "80:80"
      - "443:443"

Versions:

** Title: ** php 7.1 with nginx 1.12 ** Dockerfile: ** https://github.com/aligokayduman/docker_images/blob/master/api-php/php7.1-nginx1.12 ** image: ** smyrnof/api-php

Tag summary

Content type

Image

Digest

Size

393.2 MB

Last updated

over 8 years ago

docker pull smyrnof/api-php