-
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
75 changed files
with
6,708 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# ignore all bin directories | ||
# matches "bin" in any subfolder | ||
bin/ | ||
|
||
# ignore all target directories | ||
target/ | ||
|
||
# ignore all files ending with ~ | ||
*~ | ||
|
||
# ignore eclipse directories and project files | ||
.settings/ | ||
.project | ||
.classpath | ||
.metadata | ||
|
||
# ignore docker deployments | ||
docker/configuration/config.xml | ||
docker/deployments/ | ||
docker/payara/deployments/ |
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,7 @@ | ||
FROM payara/micro:latest | ||
#FROM payara/micro:5.194 | ||
|
||
MAINTAINER [email protected] | ||
# Deploy artefacts | ||
COPY ./target/*.war $DEPLOY_DIR | ||
|
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,41 @@ | ||
FROM payara/server-full:5.201 | ||
#FROM payara/server-full:latest | ||
|
||
# Imixs-JSF-Sample Version 1.0.2 | ||
MAINTAINER [email protected] | ||
|
||
# Setup configuration | ||
#USER payara | ||
#COPY ./src/docker/configuration/payara/postgresql-9.4.1212.jar /opt/payara/appserver/glassfish/domains/production/lib | ||
#COPY ./src/docker/configuration/payara/domain.xml /opt/payara/appserver/glassfish/domains/production/config | ||
#COPY ./src/docker/configuration/payara/keyfile /opt/payara/appserver/glassfish/domains/production/config | ||
|
||
USER root | ||
#RUN chown payara:payara /opt/payara/appserver/glassfish/domains/production/config/keyfile | ||
#USER payara | ||
|
||
ENV PAYARA_ARGS --debug | ||
|
||
# Copy sample application | ||
COPY ./target/*.war $DEPLOY_DIR | ||
|
||
|
||
FROM payara/server-full:5.201 | ||
#FROM payara/micro:5.201 | ||
|
||
# add configuration files | ||
USER root | ||
|
||
# Copy domain.xml | ||
COPY ./docker/payara/configuration/payara5/domain.xml /opt/payara/appserver/glassfish/domains/production/config/ | ||
COPY ./docker/payara/configuration/keyfile /opt/payara/appserver/glassfish/domains/production/config/ | ||
# Deploy artefacts | ||
COPY ./docker/payara/configuration/postgresql-42.2.5.jar /opt/payara/appserver/glassfish/domains/production/lib | ||
COPY ./northern-europe-workflow-app/target/*.war /opt/payara/appserver/glassfish/domains/production/autodeploy | ||
|
||
RUN chown -R payara:payara /opt/payara/appserver/glassfish/domains/production | ||
USER payara | ||
#WORKDIR ${PAYARA_HOME}/ | ||
|
||
# add lauch options | ||
#CMD ["--addLibs","/opt/payara/config/postgresql-42.2.5.jar", "--deploymentDir", "/opt/payara/deployments", "--rootDir", "/opt/payara/config","--domainConfig", "/opt/payara/config/domain.xml"] |
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,11 @@ | ||
FROM jboss/wildfly:20.0.1.Final | ||
|
||
LABEL description="Imixs-Muluk" | ||
LABEL maintainer="[email protected]" | ||
|
||
|
||
# Deploy artefact | ||
ADD ./target/*.war /opt/jboss/wildfly/standalone/deployments/ | ||
|
||
# Run in Debug Mode | ||
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "--debug", "*:8787"] |
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 +1,39 @@ | ||
# muluk | ||
# Muluk-Monintor | ||
|
||
<img src="./doc/resources/MAYA-g-log-cal-D09-Muluk.png" /> | ||
|
||
Muluk is a super simple WebService Monitor. Muluk watches your web services and applications and informs you if something get wrong. It is independent form any other service, needs not database and no painful installation. You simply start with docker and one configuration file: | ||
|
||
|
||
|
||
# How to Start | ||
|
||
Muluk is hosted on Docker-Hub. So you simply need Docker to run Muluk as a Web Service on any kind of server within you private network or in the itnernet. | ||
|
||
|
||
|
||
docker run.... | ||
|
||
## The Configuration | ||
|
||
All you need is a configuration file defining the targets to monitor. | ||
|
||
|
||
<muluk-dev> | ||
|
||
<mail> | ||
<smtp>...</smtp> | ||
</mail> | ||
<targets> | ||
<target type="http"> | ||
<source>http://xxxxx</source> | ||
<auth type="basic"> | ||
<user>yyy</user> | ||
<password>xxx</password> | ||
</auth> | ||
<expected>....regex...</expected> | ||
</target> | ||
</targets> | ||
</muluk-def> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
version: "3.6" | ||
services: | ||
|
||
|
||
muluk-app: | ||
image: rsoika/muluk-web-monitor:latest | ||
environment: | ||
TZ: "CET" | ||
LANG: "en_US.UTF-8" | ||
JAVA_OPTS: "-Dnashorn.args=--no-deprecation-warning" | ||
ports: | ||
- "8080:8080" | ||
- "8787:8787" | ||
- "9990:9990" | ||
network_mode: bridge | ||
volumes: | ||
- ./docker/payara/deployments/autodeploy:/opt/payara/appserver/glassfish/domains/production/autodeploy | ||
- ./docker/payara/deployments/applications:/opt/payara/appserver/glassfish/domains/production/applications | ||
#- ./docker/deployments:/opt/payara/deployments | ||
|
||
|
||
# | ||
# - ./docker/deployments:/opt/jboss/wildfly/standalone/deployments/ | ||
|
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 @@ | ||
version: "3.6" | ||
services: | ||
|
||
|
||
muluk-app: | ||
image: rsoika/muluk-web-monitor:latest | ||
environment: | ||
TZ: "CET" | ||
LANG: "en_US.UTF-8" | ||
JAVA_OPTS: "-Dnashorn.args=--no-deprecation-warning" | ||
MULUK_CONFIG_FILE: "/opt/jboss/wildfly/config.xml" | ||
ports: | ||
- "8080:8080" | ||
- "8787:8787" | ||
- "9990:9990" | ||
network_mode: bridge | ||
volumes: | ||
- ./docker/deployments:/opt/jboss/wildfly/standalone/deployments/ | ||
- ./docker/configuration/config.xml:/opt/jboss/wildfly/config.xml | ||
|
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,12 @@ | ||
version: "3.6" | ||
services: | ||
|
||
muluk-app: | ||
image: rsoika/muluk-web-monitor | ||
environment: | ||
TZ: "CET" | ||
LANG: "en_US.UTF-8" | ||
ports: | ||
- "8080:8080" | ||
network_mode: bridge | ||
|
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 @@ | ||
FROM openjdk:11 | ||
|
||
MAINTAINER Ralph Soika <[email protected]> | ||
|
||
USER root | ||
|
||
|
||
# Set the working directory | ||
WORKDIR /opt | ||
|
||
# set environments | ||
# https://download.jboss.org/wildfly/22.0.0.Alpha1/wildfly-preview-22.0.0.Alpha1.tar.gz | ||
ENV WILDFLY_VERSION 22.0.0.Alpha1 | ||
ENV WILDFLY_HOME=/opt/wildfly | ||
ENV WILDFLY_DEPLOYMENT=$WILDFLY_HOME/standalone/deployments | ||
ENV WILDFLY_CONFIG=$WILDFLY_HOME/standalone/configuration | ||
ENV DEBUG=false | ||
|
||
|
||
# Add the glassfish distribution to /opt | ||
#RUN curl -L https://www.eclipse.org/downloads/download.php?file=/ee4j/glassfish/glassfish-6.0.0-M1.zip&mirror_id=1285 | unzip | ||
RUN wget https://www.eclipse.org/downloads/download.php?file=/ee4j/glassfish/glassfish-6.0.0-M1.zip&mirror_id=1285 | ||
|
||
|
||
# unzip file.zip -d destination_folder | ||
|
||
|
||
|
||
# Expose the ports we're interested in | ||
EXPOSE 8080 4848 | ||
|
||
#CMD ["/opt/wildfly/wildfly_start.sh"] |
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,15 @@ | ||
# Build Wildfly Prerelease Image | ||
|
||
|
||
$ docker build --tag=imixs/wildfly-jakarta-ee9 . | ||
|
||
|
||
Run in debug mode: | ||
|
||
|
||
$ docker run --name="wildfly" | ||
-p 8080:8080 -p 8787:8787 -p 9990:9990 \ | ||
-e WILDFLY_PASS="admin_password" \ | ||
-e DEBUG=true \ | ||
imixs/wildfly-jakarta-ee9 | ||
|
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,11 @@ | ||
admin=org.imixs.ACCESSLEVEL.MANAGERACCESS | ||
manfred=org.imixs.ACCESSLEVEL.MANAGERACCESS | ||
anna=org.imixs.ACCESSLEVEL.AUTHORACCESS | ||
alex=org.imixs.ACCESSLEVEL.MANAGERACCESS | ||
marty=org.imixs.ACCESSLEVEL.AUTHORACCESS | ||
melman=org.imixs.ACCESSLEVEL.AUTHORACCESS | ||
gloria=org.imixs.ACCESSLEVEL.AUTHORACCESS | ||
skipper=org.imixs.ACCESSLEVEL.AUTHORACCESS | ||
kowalski=org.imixs.ACCESSLEVEL.AUTHORACCESS | ||
private=org.imixs.ACCESSLEVEL.AUTHORACCESS | ||
rico=org.imixs.ACCESSLEVEL.AUTHORACCESS |
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,11 @@ | ||
admin=adminadmin | ||
manfred=password | ||
anna=password | ||
marty=password | ||
alex=password | ||
melman=password | ||
gloria=password | ||
skipper=password | ||
kowalski=password | ||
private=password | ||
rico=password |
Oops, something went wrong.