Download the PHP package matthew-p/docker-server without Composer
On this page you can find all versions of the php package matthew-p/docker-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package docker-server
Universal docker server
Nginx (1.17.8), PHP (7.4) / Node (13.10), MySql (5.7), Redis (5.0.7)
Installation
The preferred way to install this extension.
Either run
-
for composer
or add
to the require section of your
composer.json
file. -
for npm
or add
to the dependencies section of your
package.json
file.
After install package:
-
Add or update section scripts in composer.json or package.json:
-
for composer.json
- for package.json
where "docker/.env.local" relative path to your local env config (will be created in next step).
-
-
Run: or . This will create a docker folder in your project root directory.
-
Change root-path in docker/nginx/conf-dynamic.d/sample.conf
-
See supported os and config docker/.env.local according to your operating system
- Run server: or
Supported OS
- Linux
- Mac OS
Environments && Commands
- See all available environments
- See console commands
PhpStorm samples
- Deploy config
Latest docker images
- NGINX
- matthewpatell/universal-docker-nginx:3.7
- SERVER
- matthewpatell/universal-docker-server:4.0
- matthewpatell/universal-docker-server:4.0-dev
- matthewpatell/universal-docker-server:4.0-jre (with java)
- PHP-FPM:
- matthewpatell/universal-docker-server-php-fpm:4.0
- NODE:
- node:13.10-alpine
FEATURES
- Multiple config:
-
Use environment, extends, overriding between configs
- Use all environments in docker-compose files
- Overriding, extends docker-compose files
- Run container and execute command:
- Run command in working container:
- AWS create/update "Task Definitions"
- Auto update /etc/hosts file on host machine
- Auto create nginx proxies on host machine
- Deploy
- And etc.
LIFEHACKS
-
Configure hosts file:
-
Check nginx container IP and add to hosts file:
view "IPAddress" and add to:
172.18.0.4 sample.io (for example)
save and check it. - Open browser and check sample.io
OR see below static network layer
-
-
Add static network layer (only for Linux)
-
Change SERVICES variable in your local env (docker/.env.local) to:
- Run: and check it.
-
-
Update package without composer install and depencies
-
with composer image:
-
with server images:
- with server image and additional global packages:
-
- Use git-container instead of git itself
That's all. Check it. :)