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
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ The provided Docker images heavily rely on inheritance to guarantee smallest pos
68
68
|#
69
69
[prod] # Devilbox flavour for production
70
70
^ # (locales, postifx, socat and injectables)
71
-
|# (custom modules and *.ini files)
71
+
|# (custom *.ini files)
72
72
|#
73
73
[work] # Devilbox flavour for local development
74
74
# (includes backup and development tools)
@@ -344,27 +344,6 @@ $ docker run -d \
344
344
-t devilbox/php-fpm:7.2-prod
345
345
```
346
346
347
-
#### Load custom PHP modules
348
-
349
-
`modules/` is a local directory that will hold the PHP modules you want to mount into the Docker container. `config/` is a local directory that will hold the PHP *.ini files you want to load into the Docker container.
350
-
351
-
```shell
352
-
# Create module directory and place module into it
#### MySQL connect via 127.0.0.1 (via port-forward)
369
348
370
349
Forward MySQL Port from `172.168.0.30` (or any other IP address/hostname) and Port `3306` to the PHP docker on `127.0.0.1:3306`. By this, your PHP files inside the docker can use `127.0.0.1` to connect to a MySQL database.
@@ -451,6 +430,26 @@ Contributors are welcome. Feel free to star and clone this repository and submit
451
430
:information_source: For details see **[Contributor Documentation: PHP Modules](php_modules/README.md)**
452
431
453
432
433
+
<h2><imgid="contributing"width="20"src="https://github.com/devilbox/artwork/raw/master/submissions_logo/cytopia/01/png/logo_64_trans.png"> Related Project</h2>
434
+
435
+
If you want to add custom modules, tools or apply any other changes, but don't think it fits in here, you can do so over at the **[PHP-FPM Community Images](https://github.com/devilbox/docker-php-fpm-community)**.
0 commit comments