Skip to content

Commit 0591ba5

Browse files
committed
📚 Add customization section to documentation
1 parent 3acd5c8 commit 0591ba5

File tree

15 files changed

+103
-0
lines changed

15 files changed

+103
-0
lines changed

documentation/docs/content/DockerImages/dockerfiles/apache-dev.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ Environment variables
1919
.. include:: include/environment-web-dev.rst
2020

2121

22+
Customization
23+
-------------
24+
25+
.. include:: include/customization-apache.rst
26+
27+
2228
Docker image layout
2329
-------------------
2430

documentation/docs/content/DockerImages/dockerfiles/apache.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ Environment variables
1717
.. include:: include/environment-web.rst
1818

1919

20+
Customization
21+
-------------
22+
23+
.. include:: include/customization-apache.rst
24+
25+
2026
Docker image layout
2127
-------------------
2228

documentation/docs/content/DockerImages/dockerfiles/hhvm-apache.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Environment variables
1818
.. include:: include/environment-web.rst
1919

2020

21+
Customization
22+
-------------
23+
24+
.. include:: include/customization-apache.rst
25+
26+
2127
Docker image layout
2228
-------------------
2329

documentation/docs/content/DockerImages/dockerfiles/hhvm-nginx.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Environment variables
1818
.. include:: include/environment-web.rst
1919

2020

21+
Customization
22+
-------------
23+
24+
.. include:: include/customization-nginx.rst
25+
26+
2127
Docker image layout
2228
-------------------
2329

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Apache customization
2+
^^^^^^^^^^^^^^^^^^^^
3+
4+
This image has two directories for configuration files which will be automatic loaded.
5+
6+
For global configuration options the directory ``/opt/docker/etc/httpd/conf.d`` can be used.
7+
For vhost configuration options the directory ``/opt/docker/etc/httpd/vhost.common.conf``can be used.
8+
9+
Any ``*.conf`` files inside these direcories will be included either global or the vhost section.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Nginx customization
2+
^^^^^^^^^^^^^^^^^^^
3+
4+
This image has two directories for configuration files which will be automatic loaded.
5+
6+
For global configuration options the directory ``/opt/docker/etc/nginx/conf.d`` can be used.
7+
For vhost configuration options the directory ``/opt/docker/etc/nginx/vhost.common.conf``can be used.
8+
9+
Any ``*.conf`` files inside these direcories will be included either global or the vhost section.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
PHP customization
2+
^^^^^^^^^^^^^^^^^
3+
4+
For customization a placeholder ``/opt/docker/etc/php/php.ini`` is available which will be loaded as last
5+
configuration file. All settings can be overwritten in this ini file.
6+
7+
Either use ``COPY`` inside your ``Dockerfile`` to overwrite this file or use
8+
``RUN echo memory_limit = 128 M >> /opt/docker/etc/php/php.ini`` to set specific php.ini values.

documentation/docs/content/DockerImages/dockerfiles/nginx-dev.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ Environment variables
1919
.. include:: include/environment-web-dev.rst
2020

2121

22+
Customization
23+
-------------
24+
25+
.. include:: include/customization-nginx.rst
26+
27+
2228
Docker image layout
2329
-------------------
2430

documentation/docs/content/DockerImages/dockerfiles/nginx.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ Environment variables
1616
.. include:: include/environment-web.rst
1717

1818

19+
Customization
20+
-------------
21+
22+
.. include:: include/customization-nginx.rst
23+
24+
1925
Docker image layout
2026
-------------------
2127

documentation/docs/content/DockerImages/dockerfiles/php-apache-dev.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ Environment variables
1919
.. include:: include/environment-php-dev.rst
2020

2121

22+
Customization
23+
-------------
24+
25+
.. include:: include/customization-php.rst
26+
.. include:: include/customization-apache.rst
27+
28+
2229
Docker image layout
2330
-------------------
2431

0 commit comments

Comments
 (0)