-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #1
- Loading branch information
Showing
16 changed files
with
934 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
FROM imixs/wildfly:1.2.7 | ||
FROM open-liberty:kernel | ||
|
||
|
||
# Imixs-Documents | ||
MAINTAINER [email protected] | ||
|
||
# Copy postgres JDBC driver | ||
COPY ./src/docker/configuration/openliberty/postgresql-9.4.1212.jar /opt/ol/wlp/lib | ||
|
||
# Add config | ||
COPY --chown=1001:0 ./src/docker/configuration/openliberty/server.xml /config/ | ||
|
||
# Activate Debug Mode... | ||
#COPY --chown=1001:0 ./src/docker/configuration/openliberty/jvm.options /config/ | ||
|
||
# Copy sample application | ||
COPY ./target/imixs-documents.war /config/dropins/ | ||
|
||
# Setup configuration | ||
COPY ./src/docker/configuration/imixsrealm.properties ${WILDFLY_CONFIG}/ | ||
COPY ./src/docker/configuration/standalone.xml ${WILDFLY_CONFIG}/ | ||
|
||
# OPTIONAL: copy the standalone.conf file for custom VM setup (e.g. heap size) | ||
#COPY ./src/docker/configuration/standalone.conf ${WILDFLY_HOME}/bin/ | ||
|
||
# Deploy artefact | ||
COPY ./target/*.war ${WILDFLY_DEPLOYMENT}/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM open-liberty:kernel | ||
|
||
|
||
# Imixs-Documents | ||
MAINTAINER [email protected] | ||
|
||
# Copy postgres JDBC driver | ||
COPY ./src/docker/configuration/openliberty/postgresql-9.4.1212.jar /opt/ol/wlp/lib | ||
|
||
# Add config | ||
COPY --chown=1001:0 ./src/docker/configuration/openliberty/server-dev.xml /config/server.xml | ||
|
||
# Activate Debug Mode... | ||
COPY --chown=1001:0 ./src/docker/configuration/openliberty/jvm.options /config/ | ||
|
||
# Copy sample application | ||
COPY ./target/imixs-documents.war /config/dropins/ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Hotdeploy | ||
|
||
See this guide: | ||
|
||
https://github.com/OpenLiberty/open-liberty/issues/1527 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: "3.1" | ||
services: | ||
|
||
db: | ||
image: postgres:9.6.1 | ||
environment: | ||
POSTGRES_PASSWORD: adminadmin | ||
POSTGRES_DB: office | ||
|
||
app: | ||
image: imixs/imixs-documents | ||
depends_on: | ||
- db | ||
environment: | ||
POSTGRES_USER: "postgres" | ||
POSTGRES_PASSWORD: "adminadmin" | ||
POSTGRES_CONNECTION: "jdbc:postgresql://db/office" | ||
TZ: "Europe/Berlin" | ||
ports: | ||
- "9080:9080" | ||
- "9443:9443" | ||
- "7777:7777" | ||
# volumes: | ||
# - ~/git/imixs-jsf-example/src/docker/deployments:/config/dropins/ | ||
|
||
|
||
|
||
|
||
# imixsadmin: | ||
# image: imixs/imixs-admin | ||
# ports: | ||
# - "8888:8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Open Liberty | ||
|
||
This folder contains configuration files used to build a docker container running Open Libertry | ||
|
||
To build the Docker Image for Payara run: | ||
|
||
$ mvn clean install -Pdocker-build-openliberty | ||
|
||
After you have build the payara image with the sample application you can start the corresponding Docker-Stack with: | ||
|
||
$ docker-compose -f docker-compose-openliberty.yml up | ||
|
||
and run the sample applciation at: | ||
|
||
http://localhost:9080/ | ||
|
||
|
||
## Configuration | ||
|
||
You can find the server configuration details for the Open Libertry server in the config directory | ||
|
||
/src/docker/configuration/openliberty/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777 | ||
-Dcom.ibm.ws.app.manager.minorUpdateFileExtensions=.html,.png,.jpg,.xhtml |
Binary file not shown.
Oops, something went wrong.