Coder Social home page Coder Social logo

brjeter / docker-ddf-base Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oconnormi/docker-ddf-base

0.0 1.0 0.0 50 KB

Base Image for DDF containers

Home Page: https://store.docker.com/community/images/oconnormi/ddf-base

Shell 82.73% PostScript 17.27%

docker-ddf-base's Introduction

DDF Base

Base level docker image containing all dependencies for DDF

Features

  • Oracle JDK 8
  • Common Entrypoint for all ddf based applications
    • Customize by adding scripts to $ENTRYPOINT_HOME/pre/ and $ENTRYPOINT_HOME/post/
    • Runtime customization by mounting scripts to $ENTRYPOINT_HOME/pre_start_custom.sh and $ENTRYPOINT_HOME/post_start_custom.sh
    • Supports setting External hostname via setting APP_HOSTNAME=<external_hostname>
      • Generates keystores
      • Adds to loopback adaptor
      • updates $APP_HOME/etc/users.properties
      • updates $APP_HOME/etc/users.attributes
      • updates hostname in $APP_HOME/etc/system.properties
    • Supports External solr via SOLR_URL=<external_solr_url>
    • Supports Solr Cloud via SOLR_ZK_HOSTS=<zookeeper_hosts_list>
    • Supports external ldap via LDAP_HOST=<hostname>
    • Supports Clustering via APP_NODENAME=<node_name>
      • NodeName is used to identify the node within the cluster, useful for loadbalancing
    • Feature installation via INSTALL_FEATURES=<feature1>;<feature2>;...
    • Feature uninstallation via UNINSTALL_FEATURES=<feature1>;<feature2>;...
    • Startup apps via STARTUP_APPS=<app1>;<app2>;...

Requirements

Any upstream containers must provide environment variables for:

  • APP_NAME - Name of application, used for branding by the entrypoint
  • APP_HOME - Home Directory for application installation (should have a bin directory as a child)
  • APP_LOG - Location of the application log file

Usage

This image is meant to be the basis for any ddf based image. It packages the dependencies and an entrypoint script for use with any ddf based application

FROM oconnormi/ddf-base

ENV APP_NAME=<app_name>
ENV APP_HOME=<app_home>
ENV APP_LOG=<log_file>
...
# Install application

docker-ddf-base's People

Contributors

oconnormi avatar

Watchers

Brandan Jeter 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.