Giter Club home page Giter Club logo

docker-php-mysql-informix-oracle's Introduction

This is a docker services configuration that runs two containers :

  • A PHP container holding a LAMP environment AND which is able to manage Oracle and Informix remote DBMS.
  • A MySQL database container with persisted data.

Container 1 : PHP-APP

This container represents a basic LAMP environment that has PDO Informix and PDO OCI enabled.

Configuration :

  • PHP : 7.2
  • Apache : 2.4.25
  • PDO : oci, informix, mysql

Container 2 : MYSQL-DB

This container is based on the official MySQL image, it will obviously creates a database container running MySQL 5.7.

Installation

All you have to do is running the docker compose file !

docker-compose up -d --build

This will take a couple of minutes to build the images and run containers ! You need to have port 80 and 3306 not occupied, otherwise you have to change the default ports that docker exposes for both containers (see docker-compose.yml).

You have to edit the "php-app/index.php" file and replace the default DBMS access crediantials with yours.

You can then view the index.php file through "http://localhost" to test your connections.

docker-php-mysql-informix-oracle's People

Contributors

yooslim avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.