Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.49 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.49 KB

03) Serve dynamic Composer PHP pages

This docker recipe serves dynamic Composer PHP pages.

Used Docker images

Quick execution (development mode)

Change to folder recipes/03-composer:

❯ git clone https://github.com/ixnode/docker-recipes.git && \
  cd docker-recipes/recipes/03-composer

Check the content of the docker-compose.yml:

Change the content of the recipes/03-composer/html folder to your needs or use the example inside. Start the Docker container after that:

❯ docker-compose up -d

Open http://localhost:8000/ to see your content. At any time after starting the container, the content within the folder recipes/03-composer/html folder can be changed. The changes are visible immediately after reloading the browser.

Useful commands

@see: Useful docker commands

Other tasks

Build new image

Using the image