Skip to content
/ webdock Public

Minimalistic Docker starter for web applications.

License

Notifications You must be signed in to change notification settings

nekih/webdock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebDock

WebDock is a minimalistic Docker starter for web applications. Project is designed to build PHP micro services and SPA apps, but it can be prepared for PHP MPA in few minutes.

Getting started

These instructions will help you run any service from this project.

Prerequisites

To start working with WebDock's services you have to install this software:

This is how you can check if it is installed:

$ docker --version
Docker version 17.05.0-ce, build 89658be
$ docker-compose --version
docker-compose version 1.9.0-rc3, build fcd38d3
$ docker-machine --version
...

Hosts

Check Docker IP with ifconfig docker0 command, or 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 files

Copy any service from this project to your own Git repository and follow it's readme file.

Docker registry

Docker Hub is an official registry for Docker images.

Create own repositories for the following images and replace them in your projects.

damlys/webdock-php-web-server
damlys/webdock-php-web-server-foundation
damlys/webdock-web-assets-builder
damlys/webdock-web-client
damlys/webdock-web-client-foundation

Useful links

Docker
PHP
Node.js
Jenkins

Useful Docker images

HTTP server
SMTP catcher
Storage
AMQP server
CI/CD