toancong / phpup

nginx-php-7.3-alpine for php project

Home Page:https://hub.docker.com/r/toancong/phpup/

Repository from Github https://github.comtoancong/phpupRepository from Github https://github.comtoancong/phpup

Usage

Recommendation use docker-compose like below:

Directory Structure

docker-compose.yml

version: "3"
services:
  api_common:
    image: toancong/phpup:2
    volumes:
      - .:/var/www/app
    environment:
      - WEBROOT=/var/www/app/public
    working_dir: /var/www/app
  api:
    extends:
      service: api_common
    depends_on:
      - db
    ports:
      - 12000:80
  test:
    extends:
      service: api_common
    depends_on:
      - dbtest
  # ... more services

About

nginx-php-7.3-alpine for php project

https://hub.docker.com/r/toancong/phpup/


Languages

Language:Dockerfile 100.0%