You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
</p>
6
6
-----
7
7
# nginx-php56
8
-
A Nginx + PHP 5.6 (FPM) Base container. This container is based on the excellent [phusion/baseimage-docker](https://github.com/phusion/baseimage-docker) base container. You can find the Docker automated build [here](https://registry.hub.docker.com/u/mstrazds/nginx-php56/).
8
+
A Nginx + PHP 5.6 (FPM) Base container. This container is based on the excellent [phusion/baseimage-docker](https://github.com/phusion/baseimage-docker) base container. You can find the docker automated build [here](https://registry.hub.docker.com/u/mstrazds/nginx-php56/).
9
9
10
10
### Services
11
11
All services are defined and managed using the phusion/baseimage methodology. Logs are output using syslog and can be accessed using ``docker logs {container}``.
@@ -25,10 +25,10 @@ The following folder is specified as a volume:
25
25
26
26
``/var/www/``
27
27
28
-
Note that the ``/var/www/public`` is actually the root folder for serving PHP files for your web server. Having a layer back for the volume allows a bit more control over what files are visible.
28
+
Note that the ``/var/www/public`` is the root folder for serving PHP files for your web server. Having a layer (folder) back for the volume allows a bit more flexibility on file visibility.
29
29
30
30
### Build Folder (within repo)
31
-
The build folder contains the nginx config files as well as php-fpm settings and a setup.sh file that offloads tasks from the Dockerfile.
31
+
Contains nginx config files as well as php-fpm settings. Also include setup.sh file that offloads tasks from the Dockerfile to reduce layers.
32
32
33
33
### Notes
34
34
Remember that PHP-FPM doesn not respect environment variables passed in the traditional manner. You will need to explicitly state what your variables are within the ``/etc/php5/fpm/pool.d/www.conf`` file.
0 commit comments