Sign inSign up

dsjsantos/web_dev

By dsjsantos

•Updated over 4 years ago

Web development Ubuntu 20.04, N-Ginx, PHP 8.0 (modules: OCI, MySQL, PgSQL, CURL, SOAP, LDP...)

Image
0

10K+

dsjsantos/web_dev repository overview

⁠Installed PHP modules (besides default modules):

  • Database: oci8, mysql, pgsql
  • Conectivity: curl, soap
  • Authentication: ldap
  • Other: zip, bcmath, bz2, intl, gd, mbstring

⁠Configuration:

⁠Important internal paths:

NGin-X root folder (map you files to this path): /var/www/test_server

Path to tnsnames.ora file (only necessary if will use a Oracle connection): /opt/oracle/instantclient_19_3/network/admin/tnsnames.ora

⁠Server port:
Internal server port is 80. You can map to any disired external port with docker run -p flag.
-p <DESIRED_EXTERNAL_PORT>:80

⁠Runnig exemple:

In this exemple, the server will be exposed on port 8080, <HOST_PATH_TO_FILES> is the host machine path to files to be served and <HOST_PATH_TO_TNSNAMES_FILE> is the path to a tnsnames.ora file in the host machine.

docker run --name dev_container \
    -p 8800:80 \
    -v <HOST_PATH_TO_FILES>:/var/www/test_server \
    -v <HOST_PATH_TO_TNSNAMES_FILE>:/opt/oracle/instantclient_19_3/network/admin/tnsnames.ora \
    -d -it web_dev:latest

Tag summary

Content type

Image

Digest

Size

379.9 MB

Last updated

over 4 years ago

docker pull dsjsantos/web_dev