Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description


PHP microservice template using the Silex micro-framework

Installation Instructions

Before you start, make sure you have Docker installed

  1. Clone this repository

    $ git clone my-php-microservice
  2. Build the docker container

    $ docker build -t my-php-microservice ./my-php-microservice
  3. Run the docker container

    $ docker run -d -p 80:80 my-php-microservice
  4. Launch your browser to see API information in JSON format

    $ open http://localhost/info

    If using boot2docker, replace localhost by your boot2docker ip. If you don't know it, run:

    $ boot2docker ip
Docker Pull Command
Source Repository