Code Monkey home page Code Monkey logo

test-docker-compose's Introduction

test-docker-compose

Testing docker-compose with having 1 oracle database and 1 wavemaker application builder inside, I would like to have initial script for oracle and also storing the oracle's data and wavemaker's created application in volumes and outside of containers

test-docker-compose's People

Contributors

adramazany avatar

Watchers

 avatar

test-docker-compose's Issues

Adding migration to new changes in oracle

  1. default user should not ability of DDL (it should only have DML Ins/Upd/Del )
  2. With every pull new changes from remote repo the changes comes in new sorted (versioned) files it should be applied in the next restart/stop-up

adding GitHub Actions

services:

  # Oracle service (label used to access the service container)
  oracle:

    # Docker Hub image (feel free to change the tag "latest" to any other available one)
    image: gvenzl/oracle-xe:latest

    # Provide passwords and other environment variables to container
    env:
      ORACLE_RANDOM_PASSWORD: true
      APP_USER: my_user
      APP_USER_PASSWORD: my_password_which_I_really_should_change

    # Forward Oracle port
    ports:
      - 1521:1521

    # Provide healthcheck script options for startup
    options: >-
      --health-cmd [healthcheck.sh](http://healthcheck.sh/)
      --health-interval 10s
      --health-timeout 5s
      --health-retries 10

adding initial scripts to oracle for creating database

Initialization scripts
If you would like to perform additional initialization of the database running in a container, you can add one or more *.sql, *.sql.gz, *.sql.zip or *.sh files under /container-entrypoint-initdb.d (creating the directory if necessary). After the database setup is completed, these files will be executed automatically in alphabetical order.

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.