-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #12
- Loading branch information
Showing
13 changed files
with
542 additions
and
1,669 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM payara/micro:5.2021.9-jdk11 | ||
USER root | ||
# create a custom config folder | ||
RUN mkdir ${PAYARA_HOME}/config | ||
COPY ./docker/configuration/payara/domain-micro.xml ${PAYARA_HOME}/config/ | ||
COPY ./docker/configuration/payara/postgresql-42.2.5.jar ${PAYARA_HOME}/config | ||
COPY ./docker/configuration/payara/keyfile ${PAYARA_HOME}/config | ||
RUN chown -R payara:payara ${PAYARA_HOME}/config | ||
USER payara | ||
WORKDIR ${PAYARA_HOME} | ||
# Deploy artefacts | ||
COPY ./target/*.war $DEPLOY_DIR | ||
CMD ["--addLibs","/opt/payara/config/postgresql-42.2.5.jar", "--deploymentDir", "/opt/payara/deployments", "--rootDir", "/opt/payara/config","--domainConfig", "/opt/payara/config/domain-micro.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,34 @@ | ||
version: "3.6" | ||
services: | ||
|
||
imixs-db: | ||
image: postgres:9.6.1 | ||
environment: | ||
POSTGRES_PASSWORD: adminadmin | ||
POSTGRES_DB: workflow-db | ||
volumes: | ||
- dbdata:/var/lib/postgresql/data | ||
|
||
imixs-app: | ||
image: imixs/imixs-process-manager:latest | ||
environment: | ||
TZ: "CET" | ||
LANG: "en_US.UTF-8" | ||
#JAVA_OPTS: "-Dnashorn.args=--no-deprecation-warning" | ||
POSTGRES_USER: "postgres" | ||
POSTGRES_PASSWORD: "adminadmin" | ||
POSTGRES_CONNECTION: "jdbc:postgresql://imixs-db/workflow-db" | ||
ports: | ||
- "8080:8080" | ||
#- "8787:8787" | ||
#- "9990:9990" | ||
#volumes: | ||
# - ./docker/deployments:/opt/jboss/wildfly/standalone/deployments/ | ||
|
||
# imixsadmin: | ||
# image: imixs/imixs-admin | ||
# ports: | ||
# - "8888:8080" | ||
|
||
volumes: | ||
dbdata: |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,207 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
|
||
<!-- | ||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. | ||
Copyright (c) 2010-2013 Oracle and/or its affiliates. All rights reserved. | ||
The contents of this file are subject to the terms of either the GNU | ||
General Public License Version 2 only ("GPL") or the Common Development | ||
and Distribution License("CDDL") (collectively, the "License"). You | ||
may not use this file except in compliance with the License. You can | ||
obtain a copy of the License at | ||
https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html | ||
or packager/legal/LICENSE.txt. See the License for the specific | ||
language governing permissions and limitations under the License. | ||
When distributing the software, include this License Header Notice in each | ||
file and include the License file at packager/legal/LICENSE.txt. | ||
GPL Classpath Exception: | ||
Oracle designates this particular file as subject to the "Classpath" | ||
exception as provided by Oracle in the GPL Version 2 section of the License | ||
file that accompanied this code. | ||
Modifications: | ||
If applicable, add the following below the License Header, with the fields | ||
enclosed by brackets [] replaced by your own identifying information: | ||
"Portions Copyright [year] [name of copyright owner]" | ||
Contributor(s): | ||
If you wish your version of this file to be governed by only the CDDL or | ||
only the GPL Version 2, indicate your decision by adding "[Contributor] | ||
elects to include this software in this distribution under the [CDDL or GPL | ||
Version 2] license." If you don't indicate a single choice of license, a | ||
recipient has the option to distribute your version of this file under | ||
either the CDDL, the GPL Version 2 or to extend the choice of license to | ||
its licensees as provided above. However, if you add GPL Version 2 code | ||
and therefore, elected the GPL Version 2 license, then the option applies | ||
only if the new code is made subject to such option by the copyright | ||
holder. | ||
Portions Copyright [2016-2020] [Payara Foundation and/or its affiliates] | ||
--> | ||
|
||
<domain log-root="${com.sun.aas.instanceRoot}/logs" application-root="${com.sun.aas.instanceRoot}/applications" version="10.0"> | ||
<hazelcast-runtime-configuration multicast-group="224.2.2.4" multicast-port="2904" generate-names="true" start-port="6900"></hazelcast-runtime-configuration> | ||
<security-configurations> | ||
<authorization-service default="true" name="authorizationService"> | ||
<security-provider name="simpleAuthorization" type="Simple" provider-name="simpleAuthorizationProvider"> | ||
<authorization-provider-config support-policy-deploy="false" name="simpleAuthorizationProviderConfig"></authorization-provider-config> | ||
</security-provider> | ||
</authorization-service> | ||
</security-configurations> | ||
<system-applications /> | ||
<applications /> | ||
<resources> | ||
<jdbc-resource pool-name="H2Pool" jndi-name="jdbc/__default" object-type="system-all" /> | ||
<jdbc-connection-pool is-isolation-level-guaranteed="false" name="H2Pool" datasource-classname="org.h2.jdbcx.JdbcDataSource" res-type="javax.sql.DataSource"> | ||
<property name="URL" value="jdbc:h2:${com.sun.aas.instanceRoot}/lib/databases/embedded_default;AUTO_SERVER=TRUE" /> | ||
</jdbc-connection-pool> | ||
<context-service description="context service" jndi-name="concurrent/__defaultContextService" object-type="system-all"></context-service> | ||
<managed-executor-service maximum-pool-size="200" core-pool-size="0" long-running-tasks="true" keep-alive-seconds="300" hung-after-seconds="300" task-queue-capacity="2147483647" jndi-name="concurrent/__defaultManagedExecutorService" object-type="system-all"></managed-executor-service> | ||
<managed-scheduled-executor-service core-pool-size="0" long-running-tasks="true" keep-alive-seconds="300" hung-after-seconds="300" jndi-name="concurrent/__defaultManagedScheduledExecutorService" object-type="system-all"></managed-scheduled-executor-service> | ||
<managed-thread-factory description="thread factory" jndi-name="concurrent/__defaultManagedThreadFactory" object-type="system-all"></managed-thread-factory> | ||
</resources> | ||
<servers> | ||
<server name="server" config-ref="server-config"> | ||
<resource-ref ref="jdbc/__default" /> | ||
<resource-ref ref="concurrent/__defaultContextService"></resource-ref> | ||
<resource-ref ref="concurrent/__defaultManagedExecutorService"></resource-ref> | ||
<resource-ref ref="concurrent/__defaultManagedScheduledExecutorService"></resource-ref> | ||
<resource-ref ref="concurrent/__defaultManagedThreadFactory"></resource-ref> | ||
</server> | ||
</servers> | ||
<configs> | ||
<config name="server-config"> | ||
<payara-executor-service-configuration /> | ||
<cdi-service enable-concurrent-deployment="true" pre-loader-thread-pool-size="2"></cdi-service> | ||
<hazelcast-config-specific-configuration enabled="true"></hazelcast-config-specific-configuration> | ||
<health-check-service-configuration enabled="false"> | ||
<notifier>log-notifier</notifier> | ||
<cpu-usage-checker unit="MINUTES" name="CPU" time="1" enabled="true" /> | ||
<machine-memory-usage-checker unit="MINUTES" name="MMEM" time="3" enabled="true" /> | ||
<heap-memory-usage-checker unit="MINUTES" name="HEAP" time="3" enabled="true" /> | ||
<hogging-threads-checker unit="MINUTES" name="HT" time="5" enabled="true" /> | ||
<garbage-collector-checker unit="MINUTES" name="GC" time="5" enabled="true" /> | ||
</health-check-service-configuration> | ||
<http-service access-logging-enabled="false"> | ||
<access-log format="%client.name% %auth-user-name% %datetime% %request% %status% %response.length%" rotation-interval-in-minutes="15" rotation-suffix="yyyy-MM-dd"></access-log> | ||
<virtual-server id="server" access-logging-enabled="false" access-log="" network-listeners="http-listener, https-listener"></virtual-server> | ||
</http-service> | ||
<admin-service system-jmx-connector-name="system" type="das-and-server"> | ||
<jmx-connector port="8686" address="0.0.0.0" security-enabled="false" auth-realm-name="admin-realm" name="system" enabled="false"></jmx-connector> | ||
<das-config></das-config> | ||
</admin-service> | ||
<connector-service class-loading-policy="global" shutdown-timeout-in-seconds="30"></connector-service> | ||
<ejb-container steady-pool-size="0" max-pool-size="32" session-store="${com.sun.aas.instanceRoot}/session-store" pool-resize-quantity="8"> | ||
<ejb-timer-service ejb-timer-service="DataGrid"></ejb-timer-service> | ||
</ejb-container> | ||
<log-service file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000"> | ||
<module-log-levels /> | ||
</log-service> | ||
<monitoring-service-configuration amx="false" enabled="false" log-frequency="30"> | ||
<notifier>log-notifier</notifier> | ||
<notifier>eventbus-notifier</notifier> | ||
</monitoring-service-configuration> | ||
<microprofile-metrics-configuration></microprofile-metrics-configuration> | ||
<security-service activate-default-principal-to-role-mapping="true" jacc="simple"> | ||
<auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm"> | ||
<property value="${com.sun.aas.instanceRoot}/config/admin-keyfile" name="file" /> | ||
<property value="fileRealm" name="jaas-context" /> | ||
</auth-realm> | ||
<auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file"> | ||
<property value="${com.sun.aas.instanceRoot}/config/keyfile" name="file" /> | ||
<property value="fileRealm" name="jaas-context" /> | ||
</auth-realm> | ||
<auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate" /> | ||
<jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper" name="default"> | ||
<property value="${com.sun.aas.instanceRoot}/generated/policy" name="repository" /> | ||
</jacc-provider> | ||
<jacc-provider policy-configuration-factory-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyConfigurationFactory" policy-provider="com.sun.enterprise.security.jacc.provider.SimplePolicyProvider" name="simple" /> | ||
<audit-module classname="com.sun.enterprise.security.ee.Audit" name="default"> | ||
<property value="false" name="auditOn" /> | ||
</audit-module> | ||
<message-security-config auth-layer="SOAP"> | ||
<provider-config provider-id="XWS_ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client"> | ||
<request-policy auth-source="content" /> | ||
<response-policy auth-source="content" /> | ||
<property value="s1as" name="encryption.key.alias" /> | ||
<property value="s1as" name="signature.key.alias" /> | ||
<property value="false" name="dynamic.username.password" /> | ||
<property value="false" name="debug" /> | ||
</provider-config> | ||
<provider-config provider-id="ClientProvider" class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-type="client"> | ||
<request-policy auth-source="content" /> | ||
<response-policy auth-source="content" /> | ||
<property value="s1as" name="encryption.key.alias" /> | ||
<property value="s1as" name="signature.key.alias" /> | ||
<property value="false" name="dynamic.username.password" /> | ||
<property value="false" name="debug" /> | ||
<property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" /> | ||
</provider-config> | ||
<provider-config provider-id="XWS_ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server"> | ||
<request-policy auth-source="content" /> | ||
<response-policy auth-source="content" /> | ||
<property value="s1as" name="encryption.key.alias" /> | ||
<property value="s1as" name="signature.key.alias" /> | ||
<property value="false" name="debug" /> | ||
</provider-config> | ||
<provider-config provider-id="ServerProvider" class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-type="server"> | ||
<request-policy auth-source="content" /> | ||
<response-policy auth-source="content" /> | ||
<property value="s1as" name="encryption.key.alias" /> | ||
<property value="s1as" name="signature.key.alias" /> | ||
<property value="false" name="debug" /> | ||
<property value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml" name="security.config" /> | ||
</provider-config> | ||
</message-security-config> | ||
<property value="SHA-256" name="default-digest-algorithm" /> | ||
</security-service> | ||
<transaction-service tx-log-dir="${com.sun.aas.instanceRoot}/logs"></transaction-service> | ||
<java-config></java-config> | ||
<phone-home-runtime-configuration></phone-home-runtime-configuration> | ||
<request-tracing-service-configuration> | ||
<notifier>log-notifier</notifier> | ||
</request-tracing-service-configuration> | ||
<notification-service-configuration enabled="false"> | ||
<log-notifier-configuration enabled="true"></log-notifier-configuration> | ||
</notification-service-configuration> | ||
<batch-runtime-configuration table-prefix="jbatch" data-source-lookup-name="jdbc/__default"></batch-runtime-configuration> | ||
<availability-service availability-enabled="true"> | ||
<web-container-availability availability-enabled="true" persistence-scope="modified-session" sso-failover-enabled="true" persistence-type="hazelcast"></web-container-availability> | ||
<ejb-container-availability sfsb-ha-persistence-type="hazelcast" sfsb-persistence-type="hazelcast"></ejb-container-availability> | ||
</availability-service> | ||
<network-config> | ||
<protocols> | ||
<protocol name="http-listener"> | ||
<http default-virtual-server="server" xpowered-by="false" max-connections="250" comet-support-enabled="true"> | ||
<file-cache enabled="false"></file-cache> | ||
</http> | ||
</protocol> | ||
<protocol security-enabled="true" name="https-listener"> | ||
<http default-virtual-server="server" xpowered-by="false" comet-support-enabled="true" max-connections="250"> | ||
<file-cache enabled="false"></file-cache> | ||
</http> | ||
<ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" ssl3-enabled="false" cert-nickname="s1as"></ssl> | ||
</protocol> | ||
</protocols> | ||
<network-listeners> | ||
<network-listener port="8080" protocol="http-listener" transport="tcp" name="http-listener" thread-pool="http-thread-pool" enabled="true" /> | ||
<network-listener port="8443" protocol="https-listener" transport="tcp" name="https-listener" thread-pool="http-thread-pool" enabled="false" /> | ||
</network-listeners> | ||
<transports> | ||
<transport byte-buffer-type="HEAP" name="tcp"></transport> | ||
</transports> | ||
</network-config> | ||
<thread-pools> | ||
<thread-pool name="http-thread-pool" min-thread-pool-size="2" max-thread-pool-size="200" max-queue-size="4096"></thread-pool> | ||
<thread-pool name="thread-pool-1" min-thread-pool-size="2" max-thread-pool-size="200" /> | ||
</thread-pools> | ||
<microprofile-config /> | ||
<system-property name="jersey.config.client.readTimeout" value="300000" /> | ||
<system-property name="jersey.config.client.connectTimeout" value="300000" /> | ||
</config> | ||
</configs> | ||
<property name="administrative.domain.name" value="domain1" /> | ||
</domain> |
Oops, something went wrong.