Skip to content

Commit 0a3f683

Browse files
committed
improve documentation
1 parent 2f0fead commit 0a3f683

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,33 @@
22

33
Docker Compose configuration to run PHP, Nginx, PHP-FPM, MySQL, PostgreSQL, Composer and Symfony
44

5-
PHP 7.4.14
6-
7-
Nginx 1.18
8-
9-
MySQL 8.0.23
10-
11-
PostgreSQL 13.1
5+
- PHP 7.4.14
6+
- nginx 1.18
7+
- MySQL 8.0.23
8+
- PostgreSQL 13.1
129

1310
## Overview
1411

1512
This Docker Compose configuration allows you to run PHP 7.4 with Nginx 1.18, PHP-FPM, MySQL 8.0.23 and PostgreSQL 13.1, Composer and Symfony.
1613

17-
It exposes 5 services:
14+
It exposes 4 services:
1815

19-
nginx
20-
php-fom
21-
mysql
22-
postgres
23-
composer
16+
- nginx
17+
- php-fom
18+
- mysql
19+
- postgres
2420

25-
To know all extensions enabled for PHP you can run it using `docker-compose up`and visit: http://localhost/phpinfo.php and check the PHP info.
21+
To know all extensions enabled for PHP you can run it using `docker-compose up`and visit: http://localhost/ and check the PHP info.
22+
23+
PHP has by default **pdo_mysql**, **pdo_pgsql** and **Xdebug** enabled.
2624

2725
The UUID extension for PostgreSQL has been added.
2826

2927
Nginx includes default configuration for Symfony 5.
3028

31-
Composer runs during boot to install the vendors.
29+
Composer runs during boot to install the vendors. More info: https://getcomposer.org
3230

33-
Symfony command is available.
31+
Symfony command is available. More info: https://symfony.com/download
3432

3533

3634
## Prerequisites
@@ -76,6 +74,8 @@ For instance, you can check symfony requirements:
7674

7775
### Use PHP
7876

77+
You can run PHP commands, i.e.:
78+
7979
`docker-compose exec php-fpm php -v`
8080

8181
### Use PostgreSQL

0 commit comments

Comments
 (0)