WebDock is a minimalistic Docker starter for web applications. Project is designed to work with PHP micro services and SPA web clients, but it is also great to work with PHP MPA.
These instructions will help you use any repository from this project.
To start working with WebDock repositories you have to install Docker and Docker Compose. This is how you can check if it is properly installed:
$ docker --version; \
docker run --rm hello-world; \
docker-compose --version
Check Docker IP with ifconfig docker0
command
(docker-machine ip
if you are working with Docker Machine).
$ ifconfig docker0
docker0 Link encap:Ethernet HWaddr 02:42:be:e6:83:00
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Add 172.17.0.1 docker.localhost www.docker.localhost
line to
the /etc/hosts
file
(C:\Windows\System32\Drivers\etc\hosts
file for Windows).
Copy any repository from this project to your own Git repository and follow it's readme file.
Note that following images names are used only to visualise the relationships between repositories.
damlys/webdock-web-assets-builder
damlys/webdock-web-client
damlys/webdock-web-client-foundation
damlys/webdock-php-web-server
damlys/webdock-php-web-server-foundation
You should change them immediately after repositories clone.