Public Repository

Last pushed: a day ago
Short Description
Short description is empty for this repo.
Full Description

docker-compose Nginx

  server:
    image: hurtom/php:nginx
    restart: always
    ports:
      - "8080:80"
    volumes:
      - ./:/var/www/html
      - ./php.ini:/usr/local/etc/php/php.ini

docker-compose FPM

  server:
    image: nginx:mainline
    restart: always
    ports:
      - "8080:80"
    volumes:
      - ./:/var/www/html
      - ./nginx.conf:/etc/nginx/nginx.conf

  fpm:
    image: hurtom/php:fpm
    restart: always
    volumes:
      - ./:/var/www/html
      - ./php.ini:/usr/local/etc/php/php.ini

See an example nginx.conf

CLI

docker run -it --rm hurtom/php:cli php -v

Tags

Docker Pull Command
Owner
hurtom

Comments (0)