Code Monkey home page Code Monkey logo

oracle-docker's Introduction

Oracle 12c Docker Official Image with Custom Scripts

This project is a simple customization for the Oracle 12c official Docker image available here. Basically setupDB.sh is a script taken from inside the oracle container and customized to call another bash script (runInitialScripts.sh) that runs every sql file present on the mounted volume folder. It is important to note that the scripts will be applied sequentially in alphabetical order, so name them accordingly if execution order is a matter. E.g. 01-DatabaseConfig.sql, 02-InitialSchemas.sql, 03-Seed.sql, etc. Also it is important to note that every file that does not have the .sql extension will be ignored

Usage

  1. Add your custom sql scripts to the volume folder (it will be mounted when we execute the docker container)
  2. Login to the docker portal
  3. Acquire Oracle image from the store
  4. Install Docker for your OS Windows | Ubuntu | MacOS
  5. Run docker login to authenticate with your Docker account
  6. Run the cake task SetupAndWaitContainer:
    ./build.sh -t SetupAndWaitContainer
    or
    .\build.ps1 -t SetupAndWaitContainer
    

Connection

  • Hostname: localhost
  • Port: 1521
  • Service Name: ORCLCDB.localdomain
  • User: sys
  • Password: Oradoc_db1

Documentation

oracle-docker's People

Contributors

strobelt avatar

Watchers

Vitor Sobral 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.