Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

sebastianheuer/docker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Demo

Contains a sample PHP application that can be run in a Docker container.

Requirements

Setup

  1. Clone this repository and change into the cloned directory
  2. Run docker-compose up -d to start all containers
  3. Sending a GET Request to http://<docker-host>/ should give you this response body:
{
    message: "Hello World"
}

If you are on a Mac, you need to use the IP address of your Docker machine, which usually is 192.168.99.100.

Using the API

If you want to play around with the API you can import /meetup-service/meetup_service.json.postman_collection into Postman to get a complete list of available requests that can be executed right away.

About

Example for packaging PHP applications with docker and docker-compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages