Coder Social home page Coder Social logo

docker-weblogic's Introduction

Weblogic 12c R2 - 12.2.1 docker container

Supported tags and respective Dockerfile links

How to use this image

Start a Weblogic server instance

Starting a Weblogic server instance is simple:

docker run --name my-weblogic \
  -e WEBLOGIC_PASSWD=weblogic123 \
  -d caioquirino/weblogic:latest

Where to Store Data

Create a data directory on the host system (outside the container) and mount this to a directory visible from inside the container.

  1. Create a data directory on a suitable volume on your host system, e.g. /my/own/datadir.
  2. Start your weblogic container like this:
  docker run \
  --name my-weblogic \
  -P \
  -v /my/own/domain_dir:/weblogic/domains \
  -e WEBLOGIC_PASSWD=weblogic123 \
  -d caioquirino/weblogic:latest
  ```


## Environment Variables

When you start the weblogic image, you can adjust the configuration of the Weblogic instance by passing one or more environment variables on the docker run command line. Do note that only the `DOMAIN_DIR` and the `DOMAIN_NAME` variables will have effect if you start the container with a domain directory that already contains a domain: any pre-existing domain will always be left untouched on container startup.


### `DOMAIN_DIR`

This variable is optional and specifies where the domains are stored.

Default: /weblogic/domains


### `DOMAIN_NAME`

This variable is optional and specifies what domain are used. If the domain does not exist, it will be created on image startup.

Default: mydomain


### `WEBLOGIC_PASSWD`

This variable is optional and specifies the password of `weblogic` user in console, used ONLY when a new domain is created.

Default: weblogic123


### `SERVER_START_MODE`

This variable is optional and specifies the server start mode, used ONLY when a new domain is created.

Default: dev


## Initializing a fresh instance

When a container is started for the first time, a new domain will be initialized with the provided configuration variables.

docker-weblogic's People

Contributors

caioquirino avatar

Stargazers

Lukas Klinger avatar  avatar zhugaoxiao avatar niwaka avatar  avatar Paulo Jorge Zagalo das Neves avatar  avatar

Watchers

James Cloos avatar  avatar Paulo Jorge Zagalo das Neves avatar  avatar

docker-weblogic's Issues

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.