Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
188de9d0f3 | ||
|
|
6c62fb96e7 | ||
|
|
0c8f7f0bfa | ||
|
|
58017b4fb3 | ||
|
|
6d3ca92357 | ||
|
|
54fcdf31b8 | ||
|
|
db1917fa40 | ||
|
|
3afa0cdc33 | ||
|
|
cecbf32b68 | ||
|
|
6608b0600c | ||
|
|
52c8e24b3a | ||
|
|
c8540ca0de | ||
|
|
279eb2af9d | ||
|
|
0d379094e9 | ||
|
|
aff138a697 | ||
|
|
1355a2234b | ||
|
|
69a4aaa5e7 | ||
|
|
dee72646e6 | ||
|
|
f752309a26 | ||
|
|
8fb8be7443 | ||
|
|
c614f75948 | ||
|
|
4b9d5b2d89 | ||
|
|
8c7e433358 | ||
|
|
5b62436d30 | ||
|
|
f66c710a6e | ||
|
|
184c1bb158 | ||
|
|
d0e042a9c1 | ||
|
|
3a2220d215 | ||
|
|
f0713c90dd | ||
|
|
daf1d74b66 | ||
|
|
69b04183bb | ||
|
|
0662ca345f | ||
|
|
874f04c305 | ||
|
|
0332838752 | ||
|
|
35e15a1735 | ||
|
|
da93d4ea48 | ||
|
|
01a5d97ed7 | ||
|
|
ad948f3f08 | ||
|
|
979924957c | ||
|
|
2a4b61053d | ||
|
|
b8016f4ac7 | ||
|
|
8dc083bf2b | ||
|
|
a9d29aaf7b | ||
|
|
97b9237171 | ||
|
|
925d05e41b | ||
|
|
99c9621a9f | ||
|
|
2ffde7c784 | ||
|
|
d7c28f9b6e | ||
|
|
924c687250 | ||
|
|
3ca58472a3 | ||
|
|
8894180ea1 | ||
|
|
7b0dd55b4e | ||
|
|
dfb0f61088 | ||
|
|
1a0d8ba2b2 | ||
|
|
a7fa111930 | ||
|
|
0e64298361 | ||
|
|
5ab1283aab | ||
|
|
995fbfb13f | ||
|
|
65a2d15c07 | ||
|
|
bb6c28f859 | ||
|
|
171f67daf0 | ||
|
|
d47e68fc70 | ||
|
|
7fbe8b5c1f | ||
|
|
db6c0f84a9 | ||
|
|
b238e3c727 | ||
|
|
60572f0c9d | ||
|
|
3d14c54688 | ||
|
|
cade3f1b3b | ||
|
|
29a71867f2 | ||
|
|
1929c94880 | ||
|
|
c6c8b06331 | ||
|
|
d9237cdb78 | ||
|
|
25163f428c | ||
|
|
6e862151cc | ||
|
|
2ed89fa708 | ||
|
|
bcdd5e0525 | ||
|
|
7590f2d390 | ||
|
|
2d91d8bc08 | ||
|
|
1bd9da2339 | ||
|
|
4afb1f3e20 | ||
|
|
f0fe828a44 | ||
|
|
b5ffc3e6e4 | ||
|
|
f32e582608 | ||
|
|
0a834c839f | ||
|
|
0ab7ab7a49 | ||
|
|
575aff046e | ||
|
|
18d337ffa0 | ||
|
|
c2191ef143 | ||
|
|
54c4f13f8a | ||
|
|
e86f9b6237 | ||
|
|
f90a541ec2 | ||
|
|
942bce286d | ||
|
|
1e0b44946e | ||
|
|
903e9fdc23 | ||
|
|
d75bdbc5c2 | ||
|
|
7d3d00edb2 | ||
|
|
33035fb718 | ||
|
|
ce372ad731 | ||
|
|
75476c4d4e | ||
|
|
68f4c70fa3 | ||
|
|
3d7c7d3880 | ||
|
|
947a48dc90 | ||
|
|
c2e962a2be | ||
|
|
d15d9d291c | ||
|
|
ec79404d1c | ||
|
|
84feaff8e3 | ||
|
|
3b7770e16d | ||
|
|
f52aee275e | ||
|
|
c2c340f61e | ||
|
|
c9d1646933 | ||
|
|
26adfeee1c | ||
|
|
68d0eeab49 | ||
|
|
230e7fcf5e | ||
|
|
180e642ce3 | ||
|
|
a50c3da468 | ||
|
|
f8638e7a26 | ||
|
|
38def362f6 | ||
|
|
f3d3293e9e | ||
|
|
4d584785ff | ||
|
|
96987b7ff1 | ||
|
|
456950f31d | ||
|
|
6740f23779 | ||
|
|
880221a953 | ||
|
|
398d6692f8 | ||
|
|
b6f2befafb | ||
|
|
c11990900c | ||
|
|
e07cea5ffa | ||
|
|
6e09a9c0c9 | ||
|
|
29f4ca7c54 | ||
|
|
73fea3d13d | ||
|
|
2c82f844b1 | ||
|
|
b805fbbd1a | ||
|
|
910cc2e2cb | ||
|
|
99d39fa7f7 | ||
|
|
1778fd04a4 | ||
|
|
5faa546a0f | ||
|
|
4f191bcbea | ||
|
|
96e4ea2d20 | ||
|
|
d616b9ef3a | ||
|
|
a72d43a6af | ||
|
|
b7c883068a | ||
|
|
5a16e389c4 | ||
|
|
f10722dec9 | ||
|
|
ba6a0f70ad | ||
|
|
ec00d1a445 | ||
|
|
8b7ec4654e | ||
|
|
bf09b85448 | ||
|
|
f23cda3fd1 | ||
|
|
39928d09fc | ||
|
|
9859e68fe8 | ||
|
|
4dccd7892f | ||
|
|
6e0c055222 | ||
|
|
6bce626075 | ||
|
|
3d6aa1d4bc | ||
|
|
91ad3afc0a | ||
|
|
192bd41c1a | ||
|
|
0469d435a4 | ||
|
|
a933edb6bd | ||
|
|
d3c1579905 | ||
|
|
3b83b005c5 | ||
|
|
df5d011a3a | ||
|
|
c5f2448cf9 | ||
|
|
b757323701 | ||
|
|
812dead437 | ||
|
|
e0df60bc8b | ||
|
|
8b21dcd843 | ||
|
|
806601c800 | ||
|
|
e9542dbc96 | ||
|
|
a140d6806f | ||
|
|
eaa6f1025d | ||
|
|
366a5121de | ||
|
|
7d0eadd920 | ||
|
|
912249c388 | ||
|
|
83c123de08 | ||
|
|
9dd046ad51 | ||
|
|
20b41bbcb1 | ||
|
|
6edb220093 | ||
|
|
8ccf85d170 | ||
|
|
89348916a5 | ||
|
|
a2619fac7b | ||
|
|
70eb1fd7fb | ||
|
|
d7ed2df85e | ||
|
|
3a47c43a88 | ||
|
|
16aa444b19 | ||
|
|
7caee29b23 | ||
|
|
deb6bf058c | ||
|
|
8a0ccc61a5 | ||
|
|
695e3b3dc0 | ||
|
|
2b7755222b | ||
|
|
237a8abd62 | ||
|
|
f28c16c4fe | ||
|
|
cf22527520 | ||
|
|
6eeef4cfbe | ||
|
|
58a9db5244 | ||
|
|
75afb1580b | ||
|
|
69481655e8 | ||
|
|
6aa7c2229d | ||
|
|
fd30fd4555 | ||
|
|
d4616bfdb2 | ||
|
|
3409eb4eec | ||
|
|
f977291894 | ||
|
|
cc4ed62159 | ||
|
|
e8a8d088f4 | ||
|
|
c9075398cd | ||
|
|
128a289ac3 | ||
|
|
4f5a939b71 | ||
|
|
22b2583505 | ||
|
|
28e32e34a2 | ||
|
|
c7378dd9c2 | ||
|
|
6c5f4493dc | ||
|
|
4f3da7361a | ||
|
|
53404852e1 | ||
|
|
75743d2391 | ||
|
|
0999563353 | ||
|
|
6a8b1e2628 | ||
|
|
932159b238 | ||
|
|
135739da10 | ||
|
|
f1a47aa620 | ||
|
|
295b0711b0 | ||
|
|
3d06a59303 | ||
|
|
bc6a8539f3 | ||
|
|
ccbe4de116 | ||
|
|
5c25ab9d3d | ||
|
|
02a2ec72c0 | ||
|
|
720346e9d7 | ||
|
|
68e0652872 | ||
|
|
b81db4fc0f | ||
|
|
c377995a1d | ||
|
|
e223fd99a3 | ||
|
|
5beadf9f35 | ||
|
|
89eec1edec | ||
|
|
3db235a532 | ||
|
|
24337f3a13 | ||
|
|
04988e43dd | ||
|
|
f94f3e82e8 | ||
|
|
cb5d306478 | ||
|
|
abaa41345a | ||
|
|
f46dacad9d | ||
|
|
0488b3402d | ||
|
|
fad6fe1c2a | ||
|
|
2789af0bd7 | ||
|
|
91da0dedb6 | ||
|
|
8d3c4987f0 |
@@ -1,8 +1,9 @@
|
|||||||
EXTERNAL_RESOURCE_DIR=/home/brian
|
ALFRESCO_DIR=~/alfresco
|
||||||
ALFRESCO_DIR=${EXTERNAL_RESOURCE_DIR}/alfresco
|
|
||||||
ALFRESCO_LICENSE_DIR=~/alfresco/license
|
ALFRESCO_LICENSE_DIR=~/alfresco/license
|
||||||
|
|
||||||
PROXY_PROTOCOL=http
|
PROXY_PROTOCOL=http
|
||||||
PROXY_HOST=localhost
|
PROXY_HOST=localhost
|
||||||
PROXY_PORT=8080
|
PROXY_PORT=8080
|
||||||
IDENTITY_SERVICE_BASEURL=http://auth.example.org:8080
|
IDENTITY_SERVICE_PROTOCOL=http
|
||||||
|
IDENTITY_SERVICE_HOST=auth.example.org
|
||||||
|
IDENTITY_SERVICE_PORT=8080
|
||||||
|
|||||||
+143
-22
@@ -1,12 +1,12 @@
|
|||||||
# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
||||||
#
|
#
|
||||||
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
|
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
|
||||||
version: "2"
|
version: "2.1"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
platform:
|
platform:
|
||||||
image: alfresco/alfresco-content-repository:6.2.2.3
|
image: quay.io/alfresco/alfresco-governance-repository-enterprise:V3.4-latest
|
||||||
mem_limit: 1700m
|
mem_limit: 2g
|
||||||
environment:
|
environment:
|
||||||
JAVA_OPTS: "
|
JAVA_OPTS: "
|
||||||
-Ddb.driver=org.postgresql.Driver
|
-Ddb.driver=org.postgresql.Driver
|
||||||
@@ -50,21 +50,28 @@ services:
|
|||||||
|
|
||||||
-Dauthentication.chain=aims:identity-service,builtin:alfrescoNtlm
|
-Dauthentication.chain=aims:identity-service,builtin:alfrescoNtlm
|
||||||
-Didentity-service.authentication.defaultAdministratorUserNames=admin.1
|
-Didentity-service.authentication.defaultAdministratorUserNames=admin.1
|
||||||
-Didentity-service.auth-server-url=${IDENTITY_SERVICE_BASEURL}/auth
|
-Didentity-service.auth-server-url=${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
|
||||||
|
|
||||||
-Dsystem.content.eagerOrphanCleanup=true
|
-Dsystem.content.eagerOrphanCleanup=true
|
||||||
-Dsystem.content.orphanProtectDays=0
|
-Dsystem.content.orphanProtectDays=0
|
||||||
-Djodconverter.enabled=false
|
-Djodconverter.enabled=false
|
||||||
"
|
"
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-acs
|
postgres-acs:
|
||||||
- activemq
|
condition: service_started
|
||||||
- shared-file-store
|
activemq:
|
||||||
|
condition: service_started
|
||||||
|
shared-file-store:
|
||||||
|
condition: service_started
|
||||||
|
identity:
|
||||||
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- "$ALFRESCO_LICENSE_DIR/acs:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro"
|
- "$ALFRESCO_LICENSE_DIR/acs:/usr/local/tomcat/shared/classes/alfresco/extension/license:ro"
|
||||||
|
- acsbin-volume:/usr/local/tomcat/alf_data:rw
|
||||||
|
|
||||||
transform-router:
|
transform-router:
|
||||||
image: quay.io/alfresco/alfresco-transform-router:1.3.1
|
image: quay.io/alfresco/alfresco-transform-router:1.3.1
|
||||||
|
mem_limit: 128m
|
||||||
environment:
|
environment:
|
||||||
ACTIVEMQ_URL: "nio://activemq:61616"
|
ACTIVEMQ_URL: "nio://activemq:61616"
|
||||||
CORE_AIO_URL : "http://transform-core-aio:8090"
|
CORE_AIO_URL : "http://transform-core-aio:8090"
|
||||||
@@ -75,6 +82,7 @@ services:
|
|||||||
|
|
||||||
transform-core-aio:
|
transform-core-aio:
|
||||||
image: alfresco/alfresco-transform-core-aio:2.3.6
|
image: alfresco/alfresco-transform-core-aio:2.3.6
|
||||||
|
mem_limit: 1g
|
||||||
environment:
|
environment:
|
||||||
ACTIVEMQ_URL: "nio://activemq:61616"
|
ACTIVEMQ_URL: "nio://activemq:61616"
|
||||||
FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
|
FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
|
||||||
@@ -84,14 +92,12 @@ services:
|
|||||||
|
|
||||||
shared-file-store:
|
shared-file-store:
|
||||||
image: alfresco/alfresco-shared-file-store:0.10.0
|
image: alfresco/alfresco-shared-file-store:0.10.0
|
||||||
|
mem_limit: 256m
|
||||||
volumes:
|
volumes:
|
||||||
- shared-file-store-volume:/tmp/Alfresco/sfs
|
- shared-file-store-volume:/tmp/Alfresco/sfs
|
||||||
|
|
||||||
transform-core-aio:
|
|
||||||
image: alfresco/alfresco-transform-core-aio:2.3.6
|
|
||||||
|
|
||||||
share:
|
share:
|
||||||
image: alfresco/alfresco-share:6.2.2
|
image: quay.io/alfresco/alfresco-governance-share-enterprise:V3.4-latest
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
environment:
|
environment:
|
||||||
REPO_HOST: "platform"
|
REPO_HOST: "platform"
|
||||||
@@ -107,7 +113,7 @@ services:
|
|||||||
-Daims.enabled=true
|
-Daims.enabled=true
|
||||||
-Daims.realm=alfresco
|
-Daims.realm=alfresco
|
||||||
-Daims.resource=acs-share
|
-Daims.resource=acs-share
|
||||||
-Daims.authServerUrl=${IDENTITY_SERVICE_BASEURL}/auth
|
-Daims.authServerUrl=${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
|
||||||
-Daims.sslRequired=none
|
-Daims.sslRequired=none
|
||||||
-Daims.publicClient=true
|
-Daims.publicClient=true
|
||||||
-Daims.autodetectBearerOnly=true
|
-Daims.autodetectBearerOnly=true
|
||||||
@@ -118,16 +124,18 @@ services:
|
|||||||
|
|
||||||
postgres-acs:
|
postgres-acs:
|
||||||
image: postgres:11.7
|
image: postgres:11.7
|
||||||
mem_limit: 512m
|
mem_limit: 128m
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=alfresco
|
- POSTGRES_PASSWORD=alfresco
|
||||||
- POSTGRES_USER=alfresco
|
- POSTGRES_USER=alfresco
|
||||||
- POSTGRES_DB=alfresco
|
- POSTGRES_DB=alfresco
|
||||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||||
|
volumes:
|
||||||
|
- acsdb-volume:/var/lib/postgresql/data:rw
|
||||||
|
|
||||||
search:
|
search:
|
||||||
image: alfresco/alfresco-search-services:2.0.1
|
image: alfresco/alfresco-search-services:2.0.1
|
||||||
mem_limit: 2g
|
mem_limit: 1g
|
||||||
environment:
|
environment:
|
||||||
- SOLR_ALFRESCO_HOST=platform
|
- SOLR_ALFRESCO_HOST=platform
|
||||||
- SOLR_ALFRESCO_PORT=8080
|
- SOLR_ALFRESCO_PORT=8080
|
||||||
@@ -135,10 +143,14 @@ services:
|
|||||||
- SOLR_SOLR_PORT=8983
|
- SOLR_SOLR_PORT=8983
|
||||||
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
|
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
|
||||||
- ALFRESCO_SECURE_COMMS=none
|
- ALFRESCO_SECURE_COMMS=none
|
||||||
|
volumes:
|
||||||
|
- solrindex-volume:/opt/alfresco-search-services/data:rw
|
||||||
|
|
||||||
activemq:
|
activemq:
|
||||||
image: alfresco/alfresco-activemq:5.15.8
|
image: alfresco/alfresco-activemq:5.15.8
|
||||||
mem_limit: 256m
|
mem_limit: 512m
|
||||||
|
volumes:
|
||||||
|
- activemq-volume:/opt/activemq/data:rw
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
image: quay.io/alfresco/service-sync:3.3.3.1
|
image: quay.io/alfresco/service-sync:3.3.3.1
|
||||||
@@ -154,7 +166,7 @@ services:
|
|||||||
-Drepo.port=8080
|
-Drepo.port=8080
|
||||||
-Ddw.server.applicationConnectors[0].type=http
|
-Ddw.server.applicationConnectors[0].type=http
|
||||||
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
|
-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
|
||||||
-Didentity-service.auth-server-url=${IDENTITY_SERVICE_BASEURL}/auth
|
-Didentity-service.auth-server-url=${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
|
||||||
-Didentity-service.resource=acs-sync
|
-Didentity-service.resource=acs-sync
|
||||||
"
|
"
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -167,33 +179,122 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
BASE_PATH: ./
|
BASE_PATH: ./
|
||||||
APP_CONFIG_ECM_HOST: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}"
|
APP_CONFIG_ECM_HOST: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}"
|
||||||
APP_BASE_SHARE_URL: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/#/preview/s"
|
APP_CONFIG_BPM_HOST: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}"
|
||||||
|
APP_BASE_SHARE_URL: "${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/workspace/#/preview/s"
|
||||||
|
APP_CONFIG_PROVIDER: "ALL"
|
||||||
|
APP_CONFIG_PLUGIN_PROCESS_SERVICE: "true"
|
||||||
|
#APP_CONFIG_PLUGIN_PROCESS_AUTOMATION: "true"
|
||||||
APP_CONFIG_AUTH_TYPE: OAUTH
|
APP_CONFIG_AUTH_TYPE: OAUTH
|
||||||
APP_CONFIG_OAUTH2_HOST: "${IDENTITY_SERVICE_BASEURL}/auth/realms/alfresco"
|
APP_CONFIG_OAUTH2_HOST: "${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth/realms/alfresco"
|
||||||
APP_CONFIG_OAUTH2_CLIENTID: alfresco
|
APP_CONFIG_OAUTH2_CLIENTID: alfresco
|
||||||
APP_CONFIG_OAUTH2_IMPLICIT_FLOW: "true"
|
APP_CONFIG_OAUTH2_IMPLICIT_FLOW: "true"
|
||||||
APP_CONFIG_OAUTH2_REDIRECT_LOGIN: "/workspace/"
|
APP_CONFIG_OAUTH2_REDIRECT_LOGIN: "/workspace/"
|
||||||
APP_CONFIG_OAUTH2_REDIRECT_LOGOUT: "/workspace/logout"
|
APP_CONFIG_OAUTH2_REDIRECT_LOGOUT: "/workspace/logout"
|
||||||
|
|
||||||
|
activiti-app:
|
||||||
|
image: alfresco/process-services:1.11.1.1
|
||||||
|
mem_limit: 512m
|
||||||
|
environment:
|
||||||
|
ACTIVITI_DATASOURCE_USERNAME: alfresco
|
||||||
|
ACTIVITI_DATASOURCE_PASSWORD: alfresco
|
||||||
|
ACTIVITI_DATASOURCE_DRIVER: org.postgresql.Driver
|
||||||
|
ACTIVITI_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
|
||||||
|
ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8'
|
||||||
|
ACTIVITI_ES_SERVER_TYPE: rest
|
||||||
|
ACTIVITI_ES_REST_CLIENT_ADDRESS: search-aps
|
||||||
|
ACTIVITI_ES_REST_CLIENT_PORT: 9200
|
||||||
|
ACTIVITI_ES_REST_CLIENT_SCHEMA: http
|
||||||
|
IDENTITY_SERVICE_ENABLED: "true"
|
||||||
|
IDENTITY_SERVICE_AUTH: ${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
|
||||||
|
IDENTITY_SERVICE_CONTENT_SSO_REDIRECT_URI: ${PROXY_PROTOCOL}://${PROXY_HOST}:${PROXY_PORT}/activiti-app/app/rest/integration/sso/confirm-auth-request
|
||||||
|
JAVA_OPTS: "-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
|
||||||
|
depends_on:
|
||||||
|
- postgres-aps
|
||||||
|
volumes:
|
||||||
|
- "$ALFRESCO_LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro"
|
||||||
|
- apsbin-volume:/var/lib/postgresql/data:rw
|
||||||
|
|
||||||
|
activiti-admin:
|
||||||
|
image: alfresco/process-services-admin:1.11.1.1
|
||||||
|
mem_limit: 256m
|
||||||
|
environment:
|
||||||
|
ACTIVITI_ADMIN_DATASOURCE_USERNAME: alfresco
|
||||||
|
ACTIVITI_ADMIN_DATASOURCE_PASSWORD: alfresco
|
||||||
|
ACTIVITI_ADMIN_DATASOURCE_DRIVER: org.postgresql.Driver
|
||||||
|
ACTIVITI_ADMIN_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
|
||||||
|
ACTIVITI_ADMIN_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps-admin:5432/activiti-admin?characterEncoding=UTF-8'
|
||||||
|
ACTIVITI_ADMIN_REST_APP_HOST: http://activiti-app
|
||||||
|
ACTIVITI_ADMIN_REST_APP_PORT: 8080
|
||||||
|
JAVA_OPTS: "-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
|
||||||
|
depends_on:
|
||||||
|
- postgres-aps-admin
|
||||||
|
- activiti-app
|
||||||
|
|
||||||
|
postgres-aps:
|
||||||
|
image: postgres:11.6
|
||||||
|
mem_limit: 128m
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: activiti
|
||||||
|
POSTGRES_USER: alfresco
|
||||||
|
POSTGRES_PASSWORD: alfresco
|
||||||
|
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||||
|
volumes:
|
||||||
|
- apsdb-volume:/var/lib/postgresql/data:rw
|
||||||
|
|
||||||
|
postgres-aps-admin:
|
||||||
|
image: postgres:11.6
|
||||||
|
mem_limit: 128m
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: activiti-admin
|
||||||
|
POSTGRES_USER: alfresco
|
||||||
|
POSTGRES_PASSWORD: alfresco
|
||||||
|
command: postgres -c max_connections=50 -c log_min_messages=LOG
|
||||||
|
volumes:
|
||||||
|
- apsadmindb-volume:/var/lib/postgresql/data:rw
|
||||||
|
|
||||||
|
search-aps:
|
||||||
|
image: elasticsearch:7.6.0
|
||||||
|
mem_limit: 512m
|
||||||
|
environment:
|
||||||
|
discovery.type: single-node
|
||||||
|
ES_JAVA_OPTS: "-Xms128m -Xmx256m"
|
||||||
|
ulimits:
|
||||||
|
memlock:
|
||||||
|
soft: -1
|
||||||
|
hard: -1
|
||||||
|
depends_on:
|
||||||
|
- activiti-app
|
||||||
|
volumes:
|
||||||
|
- esindex-volume:/var/lib/postgresql/data:rw
|
||||||
|
|
||||||
identity:
|
identity:
|
||||||
image: alfresco/alfresco-identity-service:1.3
|
image: alfresco/alfresco-identity-service:1.4.0
|
||||||
|
mem_limit: 512m
|
||||||
user: jboss
|
user: jboss
|
||||||
environment:
|
environment:
|
||||||
KEYCLOAK_USER: admin
|
KEYCLOAK_USER: admin
|
||||||
KEYCLOAK_PASSWORD: admin
|
KEYCLOAK_PASSWORD: admin
|
||||||
KEYCLOAK_HOSTNAME: auth.example.org
|
KEYCLOAK_HOSTNAME: ${IDENTITY_SERVICE_HOST}
|
||||||
KEYCLOAK_IMPORT: /tmp/keycloak-alfresco-realm.json
|
KEYCLOAK_IMPORT: /tmp/keycloak-alfresco-realm.json
|
||||||
KEYCLOAK_STATISTICS: enabled
|
KEYCLOAK_STATISTICS: enabled
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
aliases:
|
aliases:
|
||||||
- "auth.example.org"
|
- "${IDENTITY_SERVICE_HOST}"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:8080/auth/realms/alfresco"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
# Really long startup times on Windows
|
||||||
|
retries: 18
|
||||||
volumes:
|
volumes:
|
||||||
- ./keycloak-alfresco-realm.json:/tmp/keycloak-alfresco-realm.json:ro
|
- ./keycloak-alfresco-realm.json:/tmp/keycloak-alfresco-realm.json:ro
|
||||||
|
- keycloak-volume:/opt/jboss/keycloak/standalone/data:rw
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./nginx-ingress
|
build: ./nginx-ingress
|
||||||
image: local/nginx-ingress:acs-sync-share-adw-aims
|
image: local/nginx-ingress:acs-sync-share-adw-aps-aims
|
||||||
|
mem_limit: 256m
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -201,6 +302,8 @@ services:
|
|||||||
- sync
|
- sync
|
||||||
- share
|
- share
|
||||||
- digital-workspace
|
- digital-workspace
|
||||||
|
- activiti-app
|
||||||
|
- activiti-admin
|
||||||
- identity
|
- identity
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
@@ -208,3 +311,21 @@ volumes:
|
|||||||
driver_opts:
|
driver_opts:
|
||||||
type: tmpfs
|
type: tmpfs
|
||||||
device: tmpfs
|
device: tmpfs
|
||||||
|
acsbin-volume:
|
||||||
|
driver: local
|
||||||
|
acsdb-volume:
|
||||||
|
driver: local
|
||||||
|
activemq-volume:
|
||||||
|
driver: local
|
||||||
|
solrindex-volume:
|
||||||
|
driver: local
|
||||||
|
apsbin-volume:
|
||||||
|
driver: local
|
||||||
|
apsdb-volume:
|
||||||
|
driver: local
|
||||||
|
apsadmindb-volume:
|
||||||
|
driver: local
|
||||||
|
esindex-volume:
|
||||||
|
driver: local
|
||||||
|
keycloak-volume:
|
||||||
|
driver: local
|
||||||
|
|||||||
@@ -16,6 +16,14 @@ if [[ $ADW_URL ]]; then
|
|||||||
sed -i s%http:\/\/digital-workspace:8080%"$ADW_URL"%g /etc/nginx/nginx.conf
|
sed -i s%http:\/\/digital-workspace:8080%"$ADW_URL"%g /etc/nginx/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $APS_APP_URL ]]; then
|
||||||
|
sed -i s%http:\/\/activiti-app:8080%"$APS_APP_URL"%g /etc/nginx/nginx.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $APS_ADMIN_URL ]]; then
|
||||||
|
sed -i s%http:\/\/activiti-admin:8080%"$APS_ADMIN_URL"%g /etc/nginx/nginx.conf
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $AIMS_URL ]]; then
|
if [[ $AIMS_URL ]]; then
|
||||||
sed -i s%http:\/\/identity:8080%"$AIMS_URL"%g /etc/nginx/nginx.conf
|
sed -i s%http:\/\/identity:8080%"$AIMS_URL"%g /etc/nginx/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -56,6 +56,20 @@ http {
|
|||||||
proxy_pass http://sync:9090/alfresco/;
|
proxy_pass http://sync:9090/alfresco/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /activiti-app/ {
|
||||||
|
proxy_pass http://activiti-app:8080;
|
||||||
|
|
||||||
|
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||||
|
absolute_redirect off;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /activiti-admin/ {
|
||||||
|
proxy_pass http://activiti-admin:8080;
|
||||||
|
|
||||||
|
# If using external proxy / load balancer (for initial redirect if no trailing slash)
|
||||||
|
absolute_redirect off;
|
||||||
|
}
|
||||||
|
|
||||||
location /share/ {
|
location /share/ {
|
||||||
proxy_pass http://share:8080;
|
proxy_pass http://share:8080;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user