code for api.peviitor.ro
cmd
docker network create --subnet=172.18.0.0/16 mynetwork
- create a folder c:\php
- clone this repo in C:\php using GitHUB Desktop
cmd
docker run --name apache-container --network mynetwork --ip 172.18.0.11 -d -p 8080:80 -v C:/php:/var/www/html sebiboga/php-apache:1.0.0
- in browser scrie http://localhost:8080/api/v0/random/
- double click on run.bat from _config folder