Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 687 Bytes

README.md

File metadata and controls

48 lines (36 loc) · 687 Bytes

PHP FPM Oracle

Image Contents:

  1. PHP-FPM
  2. nginx
  3. php-oci8 plugin
  4. git
  5. composer
  6. phpunit
  7. supervisord

Usage instructions:

This image was pre-set to be used on laravel/lumen Nginx root is set to /app/public

Running

docker run example:

docker run -p 80:80 --name php-oci8 \
           -v /path/to/your/repo:/app \
           -w /app \
           -d tecnobit/docker-nginx-php7.4-oci

docker-compose example:

version: '3.5'

services:
  php:
    image: tecnobit/docker-nginx-php7.4-oci:latest
    container_name: php
    ports:
      - '80:80'
    volumes:
      - /path/to/your/repo/:/app

then:

docker-compose up -d