mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
3.5 KiB
3.5 KiB
Permissions | Tags | Architectures | Versions | Flavours | Extensions | Tools | Env Vars | Volumes | Base Images
Documentation
Docker Volumes
Have a look at the following table to see all offered volumes for each Docker image flavour.
| Image | Volumes | Description |
|---|---|---|
| prod work |
/etc/php-custom.d |
Mount this directory into your host computer and add custom \*.ini files in order to alter php behaviour. |
/etc/php-fpm-custom.d |
Mount this directory into your host computer and add custom PHP-FPM \*.conf files in order to alter PHP-FPM behaviour. |
|
/etc/php-modules.d |
Mount this directory into your host computer and add custo \*.so files in order to add your php modules.Note:Your should then also provide a custom \*.ini file in order to actually load your custom provided module. |
|
/startup.1.d |
Any executable scripts ending by \*.sh found in this directory will be executed during startup. This is useful to supply additional commands (such as installing custom software) when the container starts up. (will run before /startup.2.d) |
|
/startup.2.d |
Any executable scripts ending by \*.sh found in this directory will be executed during startup. This is useful to supply additional commands (such as installing custom software) when the container starts up. (will run after /startup.1.d) |
|
/var/log/php |
When setting environment variable DOCKER_LOGS to 0, log files will be available under this directory. |
|
/var/mail |
Emails caught be the postfix catch-all (ENABLE_MAIL=2) will be available in this directory. |
|
/etc/supervisor/custom.d |
Mount this directory into your host computer and add your own `*.conf` supervisor start-up files. **Note:** Directory and file permission will be recursively set to this of `NEW_UID` and `NEW_GID`. |
|
| work | /etc/bashrc-devilbox.d |
Mount this directory into your host computer and add custom configuration files for bash and other tools. |
/shared/backups |
Mount this directory into your host computer to access MySQL backups created by mysqldump-secure. | |
/ca |
Mount this directory into your host computer to bake any *.crt file that is located in there as a trusted SSL entity. | |