Public | Automated Build

Last pushed: 21 days ago
Short Description
nginx-php-7.1-alpine for php project
Full Description

Usage

Recommendation use docker-compose like below:

Directory Structure

docker-compose.yml

  version: "2"
  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
Docker Pull Command
Owner
toancong
Source Repository