Web development Ubuntu 20.04, N-Ginx, PHP 8.0 (modules: OCI, MySQL, PgSQL, CURL, SOAP, LDP...)
10K+
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
Internal server port is 80. You can map to any disired external port with docker run -p flag.
-p <DESIRED_EXTERNAL_PORT>:80
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
Content type
Image
Digest
Size
379.9 MB
Last updated
over 4 years ago
docker pull dsjsantos/web_dev