Skip to content

A simple skeleton for a PHP-based microservice starting point.

Notifications You must be signed in to change notification settings

caballero03/php-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-microservice

How to install:

Step 1) Run this in the root folder of this project:

docker run --rm --interactive --tty \
    --volume $PWD:/app \
    --user $(id -u):$(id -g) \
    composer update --ignore-platform-reqs --no-scripts

Step 2) Copy the file sample.env to another file called .env

Step 3) Edit .env file to suit your project

Step 4) Run:

docker-compose up --build -d

Step 5) There is no step 5. This is just a skeleton.

also, visit: http://localhost:8091 for PHPMyAdmin DB tool

Subsequent operation

To remove running containers: Run:

docker-compose down

To re-run without building:

docker-compose up -d

About

A simple skeleton for a PHP-based microservice starting point.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published