Sign inSign up

hudsonventura/phpondocker_with_pdo_oci

By hudsonventura

•Updated almost 4 years ago

Image
0

214

hudsonventura/phpondocker_with_pdo_oci repository overview

⁠PHPOnDocker_with_PDO_OCI

This repo have a Dockerfile to create a cotainer with PHP with PDO_OCI and OCI8

This on github: https://github.com/hudsonventura/PHPOnDocker_with_PDO_OCI⁠
This on DockerHub: https://hub.docker.com/repository/docker/hudsonventura/phpondocker_with_pdo_oci⁠


If you want just up contaners with PHP FPM with OCI and PDO_OCI and Nginx just do:

sudo docker compose up

and this to down the containers
sudo docker compose down

If you want to build the images:
sudo docker compose up --build


⁠Optional zone

This will generate a self-signed certificate for you to simulate an SSL connection on localhot (optional):
cd configs/cert/
openssl req -x509 -sha256 -newkey rsa:2048 -keyout certificate.key -out certificate.crt -days 1024 -nodes

And uncomment the below lines on file configs/app.vhost

#listen 443 ssl;
#ssl_certificate     /etc/nginx/cert/certificate.crt;
#ssl_certificate_key /etc/nginx/cert/certificate.key;

At this moment you will receive an error on certificate, but the SSL is able. If you want to add a valid certificate, just replace the key a crt file at configs/cert

⁠Screenshots:

Alt text

Alt text

Tag summary

Content type

Image

Digest

sha256:347098d72…

Size

366.9 MB

Last updated

almost 4 years ago

docker pull hudsonventura/phpondocker_with_pdo_oci:7.2.2