Skip to content

Commit f6c47da

Browse files
committed
Polish README
1 parent 4fa1082 commit f6c47da

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

README.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The provided Docker images heavily rely on inheritance to guarantee smallest pos
6868
| #
6969
[prod] # Devilbox flavour for production
7070
^ # (locales, postifx, socat and injectables)
71-
| # (custom modules and *.ini files)
71+
| # (custom *.ini files)
7272
| #
7373
[work] # Devilbox flavour for local development
7474
# (includes backup and development tools)
@@ -344,27 +344,6 @@ $ docker run -d \
344344
-t devilbox/php-fpm:7.2-prod
345345
```
346346

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
353-
$ mkdir modules
354-
$ cp /my/module/phalcon.so modules/
355-
356-
# Custom php config to load this module
357-
$ mkdir config
358-
$ echo "extension=/etc/php-modules.d/phalcon.so" > config/phalcon.ini
359-
360-
# Run container and mount it
361-
$ docker run -d \
362-
-p 127.0.0.1:9000:9000 \
363-
-v config:/etc/php-custom.d \
364-
-v modules:/etc/php-modules.d \
365-
-t devilbox/php-fpm:7.2-prod
366-
```
367-
368347
#### MySQL connect via 127.0.0.1 (via port-forward)
369348

370349
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
451430
:information_source: For details see **[Contributor Documentation: PHP Modules](php_modules/README.md)**
452431

453432

433+
<h2><img id="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)**.
436+
437+
See the reference implementation below:
438+
439+
<!-- PROJECTS_START -->
440+
| Project | Author | build | Architecture | Docker Tag |
441+
|---------------------------------------|-------------------------------------------------|-----------------------------------------------|---------------------------------------|------------------------------|
442+
| :file_folder: [devilbox/] | :octocat: [cytopia] (cytopia) | [![devilbox_build]](https://github.com/devilbox/docker-php-fpm-community/actions/workflows/devilbox_action.yml)<br/>[![devilbox_nightly]](https://github.com/devilbox/docker-php-fpm-community/actions/workflows/devilbox_action_schedule.yml)| :computer: amd64<br/>:computer: arm64 | `<V>-devilbox` |
443+
444+
445+
[devilbox/]: https://github.com/devilbox/docker-php-fpm-community/tree/master/Dockerfiles/devilbox
446+
[cytopia]: https://github.com/cytopia
447+
[devilbox_build]: https://github.com/devilbox/docker-php-fpm-community/workflows/devilbox_build/badge.svg
448+
[devilbox_nightly]: https://github.com/devilbox/docker-php-fpm-community/workflows/devilbox_nightly/badge.svg
449+
> <sup> :information_source: `<V>` in the Docker tag above stands for the PHP version. E.g.: `5.4` or `8.1`, etc</sup>
450+
<!-- PROJECTS_END -->
451+
452+
454453
<h2><img id="community" width="20" src="https://github.com/devilbox/artwork/raw/master/submissions_logo/cytopia/01/png/logo_64_trans.png"> Community</h2>
455454

456455
In case you seek help, go and visit the community pages.

0 commit comments

Comments
 (0)