You can find all the requirements you can use for your php applications in this repo. You can run and manage your php applications. All you have to do is have a computer with the docker loaded.
$ git clone https://github.com/aligurbuz/php-apps.git
$ cd php-apps
$ docker-compose up -d
localhost/info.php
$ docker exec -it php-app /bin/bash
$ git clone https://github.com/laravel/laravel.git yourProject
$ cd yourProject
$ composer install
$ mv .env.example .env
$ php artisan key:generate
$ sudo chmod -R 777 storage
$ exit (leave from the container)
Go to server/volumes/nginx.conf and then add the following code:
location /yourProject {
try_files $uri $uri/ /yourProject/public/index.php$is_args$args;
}
Then;
docker restart nginx-app
localhost/yourProject/public/
There are 2 powerful databases that you can use as a relational database.Postgresql is loaded with the latest tag. Mysql database 8.0 is installed.
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions, and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster
MongoDB is a document database, which means it stores data in JSON-like documents. We believe this is the most natural way to think about data, and is much more expressive and powerful than the traditional row/column model.
Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease.
RabbitMQ is the most widely deployed open source message broker. With tens of thousands of users, RabbitMQ is one of the most popular open source message brokers. From T-Mobile to Runtastic, RabbitMQ is used worldwide at small startups and large enterprises.
RabbitMQ is lightweight and easy to deploy on premises and in the cloud. It supports multiple messaging protocols. RabbitMQ can be deployed in distributed and federated configurations to meet high-scale, high-availability requirements.