3
3
# Modified by Websoft9: replace using variable, volume define and bind
4
4
5
5
version : " 3.8"
6
-
7
6
services :
8
7
alfresco :
9
- image : $W9_REPO:$W9_VERSION-M2
10
- container_name : $W9_ID
11
- restart : unless-stopped
12
- env_file : .env
13
- deploy :
14
- resources :
15
- limits :
16
- memory : 1500M
17
- volumes :
18
- - alfresco:/usr/local/tomcat/alf_data
8
+ image : docker.io/alfresco/alfresco-content-repository-community:23.1.0
9
+ container_name : $W9_ID-alfresco # add by Websoft9
10
+ mem_limit : 1900m
19
11
environment :
20
- JAVA_TOOL_OPTIONS : "
12
+ JAVA_TOOL_OPTIONS : >-
21
13
-Dencryption.keystore.type=JCEKS
22
14
-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
23
15
-Dencryption.keyAlgorithm=DESede
@@ -26,14 +18,12 @@ services:
26
18
-Dmetadata-keystore.aliases=metadata
27
19
-Dmetadata-keystore.metadata.password=oKIWzVdEdA
28
20
-Dmetadata-keystore.metadata.algorithm=DESede
29
- "
30
- JAVA_OPTS : "
31
- -Dalfresco_user_store.adminpassword=$W9_ENCRYPT_PASSWORD
21
+ JAVA_OPTS : >-
32
22
-Ddb.driver=org.postgresql.Driver
33
- -Ddb.username=alfresco
23
+ -Ddb.username=alfresco
34
24
-Ddb.password=$W9_POWER_PASSWORD
35
- -Ddb.url=jdbc:postgresql://postgres:5432/alfresco
36
- -Dsolr.host=solr6
25
+ -Ddb.url=jdbc:postgresql://$W9_ID- postgres:5432/alfresco
26
+ -Dsolr.host=$W9_ID- solr6
37
27
-Dsolr.port=8983
38
28
-Dsolr.http.connection.timeout=1000
39
29
-Dsolr.secureComms=secret
@@ -44,134 +34,112 @@ services:
44
34
-Dshare.port=8080
45
35
-Dalfresco.host=localhost
46
36
-Dalfresco.port=8080
37
+ -Dcsrf.filter.enabled=false
47
38
-Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
48
- -Dmessaging.broker.url=\ " failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\ "
39
+ -Dmessaging.broker.url="failover:(nio://$W9_ID- activemq:61616)?timeout=3000&jms.useCompression=true"
49
40
-Ddeployment.method=DOCKER_COMPOSE
50
41
-DlocalTransform.core-aio.url=http://transform-core-aio:8090/
51
- -Dcsrf.filter.enabled=false
52
- -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
53
- "
42
+ -XX:MinRAMPercentage=50
43
+ -XX:MaxRAMPercentage=80
54
44
55
45
transform-core-aio :
56
- image : alfresco/alfresco-transform-core-aio:2.5.7
57
- container_name : $W9_ID-transform
58
- restart : unless-stopped
59
- deploy :
60
- resources :
61
- limits :
62
- memory : 1536M
46
+ image : alfresco/alfresco-transform-core-aio:5.0.1
47
+ mem_limit : 1536m
63
48
environment :
64
- JAVA_OPTS : " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
65
- ports :
66
- - " $W9_TRANSFORM_PORT_SET:$W9_TRANSFORM_PORT"
67
- env_file : .env
49
+ JAVA_OPTS : >-
50
+ -XX:MinRAMPercentage=50
51
+ -XX:MaxRAMPercentage=80
68
52
69
53
share :
70
- image : alfresco/alfresco-share:$W9_VERSION-M2
71
- container_name : $W9_ID-share
72
- restart : unless-stopped
73
- deploy :
74
- resources :
75
- limits :
76
- memory : 1G
54
+ image : docker.io/alfresco/alfresco-share:23.1.1
55
+ mem_limit : 1g
77
56
environment :
78
57
REPO_HOST : " alfresco"
79
58
REPO_PORT : " 8080"
80
- JAVA_OPTS : "
59
+ JAVA_OPTS : >-
81
60
-XX:MinRAMPercentage=50
82
61
-XX:MaxRAMPercentage=80
83
62
-Dalfresco.host=$W9_URL
84
63
-Dalfresco.port=8080
85
64
-Dalfresco.context=alfresco
86
65
-Dalfresco.protocol=http
87
- "
88
- env_file : .env
89
66
90
67
postgres :
91
- image : postgres:13.3
92
- container_name : $W9_ID-postgresql
93
- restart : unless-stopped
94
- deploy :
95
- resources :
96
- limits :
97
- memory : 512M
68
+ image : postgres:14.4
69
+ mem_limit : 512m
70
+ container_name : $W9_ID-postgresql # add by Websoft9
98
71
environment :
99
72
- POSTGRES_PASSWORD=$W9_POWER_PASSWORD
100
- - POSTGRES_USER=$W9_ID
101
- - POSTGRES_DB=$W9_ID
73
+ - POSTGRES_USER=alfresco
74
+ - POSTGRES_DB=alfresco
102
75
command : postgres -c max_connections=300 -c log_min_messages=LOG
103
76
volumes :
104
- - postgres_data:/var/lib/postgresql/data
105
- - postgres_logs:/var/log/postgresql
106
- env_file : .env
77
+ - postgres:/var/lib/postgresql
107
78
108
79
solr6 :
109
- image : alfresco/alfresco-search-services:2.0.3
110
- container_name : $W9_ID-solr
111
- restart : unless-stopped
112
- deploy :
113
- resources :
114
- limits :
115
- memory : 2G
80
+ image : docker.io/alfresco/alfresco-search-services:2.0.8.2
81
+ mem_limit : 2g
82
+ container_name : $W9_ID-solr6
116
83
environment :
117
84
# Solr needs to know how to register itself with Alfresco
118
- SOLR_ALFRESCO_HOST : " alfresco"
85
+ SOLR_ALFRESCO_HOST : $W9_ID- alfresco # Modify by Websoft9
119
86
SOLR_ALFRESCO_PORT : " 8080"
120
87
# Alfresco needs to know how to call solr
121
- SOLR_SOLR_HOST : " solr6"
88
+ SOLR_SOLR_HOST : $W9_ID- solr6 # Modify by Websoft9
122
89
SOLR_SOLR_PORT : " 8983"
123
90
# Create the default alfresco and archive cores
124
91
SOLR_CREATE_ALFRESCO_DEFAULTS : " alfresco,archive"
125
92
# HTTPS or SECRET
126
93
ALFRESCO_SECURE_COMMS : " secret"
127
94
# SHARED SECRET VALUE
128
- JAVA_TOOL_OPTIONS : " -Dalfresco.secureComms.secret=secret"
129
- ports :
130
- - " $W9_SOLR_PORT_SET:$W9_SOLR_PORT"
131
- env_file : .env
95
+ JAVA_TOOL_OPTIONS : >-
96
+ -Dalfresco.secureComms.secret=secret
132
97
133
98
activemq :
134
- image : alfresco/alfresco-activemq:5.16.4-jre11-centos7
135
- container_name : $W9_ID-activemq
136
- restart : unless-stopped
137
- deploy :
138
- resources :
139
- limits :
140
- memory : 1G
141
- ports :
142
- - " $MQ_ACTIVEMQ_PORT:8161" # Web Console
143
- - " $W9_AMQP_PORT_SET:$W9_AMQP_PORT" # AMQP
144
- - " $W9_OPENWIRE_PORT_SET:$W9_OPENWIRE_PORT" # OpenWire
145
- - " $W9_STOMP_PORT_SET:$W9_STOMP_PORT" # STOMP
146
- env_file : .env
99
+ image : alfresco/alfresco-activemq:5.18-jre17-rockylinux8
100
+ mem_limit : 1g
101
+ container_name : $W9_ID-activemq # add by Websoft9
102
+
103
+ content-app :
104
+ image : alfresco/alfresco-content-app:4.3.0
105
+ mem_limit : 128m
106
+ environment :
107
+ APP_BASE_SHARE_URL : " http://localhost:8080/aca/#/preview/s"
108
+
109
+ control-center :
110
+ image : quay.io/alfresco/alfresco-control-center:8.3.0
111
+ mem_limit : 128m
112
+ environment :
113
+ APP_CONFIG_PROVIDER : " ECM"
114
+ APP_CONFIG_AUTH_TYPE : " BASIC"
115
+ BASE_PATH : ./
147
116
148
117
proxy :
149
- image : alfresco/alfresco-acs-nginx:3.2.0
150
- container_name : $W9_ID-proxy
151
- restart : unless-stopped
152
- deploy :
153
- resources :
154
- limits :
155
- memory : 128M
118
+ image : alfresco/alfresco-acs-nginx:3.4.2
119
+ container_name : $W9_ID # add by Websoft9
120
+ mem_limit : 128m
156
121
environment :
157
122
DISABLE_PROMETHEUS : " true"
158
123
DISABLE_SYNCSERVICE : " true"
159
124
DISABLE_ADW : " true"
125
+ ENABLE_CONTENT_APP : " true"
160
126
depends_on :
161
127
- alfresco
128
+ - content-app
129
+ - control-center
162
130
ports :
163
- - " $W9_HTTP_PORT_SET:$W9_HTTP_PORT "
131
+ - " ${ W9_HTTP_PORT_SET}:8080 "
164
132
links :
133
+ - content-app
165
134
- alfresco
166
135
- share
167
- env_file : .env
136
+ - control-center
168
137
169
138
networks :
170
139
default :
171
140
name : ${W9_NETWORK}
172
141
external : true
173
142
174
143
volumes :
175
- postgres_data :
176
- postgres_logs :
144
+ postgres :
177
145
alfresco :
0 commit comments