-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.yaml
144 lines (137 loc) · 4.41 KB
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
services:
postgres:
image: postgres:14.4
environment:
POSTGRES_PASSWORD: alfresco
POSTGRES_USER: alfresco
POSTGRES_DB: alfresco
PGUSER: alfresco
command: postgres -c max_connections=300 -c log_min_messages=LOG
healthcheck:
test: ["CMD", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- ./data/postgres-data:/var/lib/postgresql/data
activemq:
image: docker.io/alfresco/alfresco-activemq:5.18-jre17-rockylinux8
environment:
ACTIVEMQ_ADMIN_LOGIN: admin
ACTIVEMQ_ADMIN_PASSWORD: admin
healthcheck:
test: ["CMD", "curl", "-f", "--user", "admin:admin", "http://localhost:8161/admin"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- ./data/activemq-data:/opt/activemq/data
transform-core-aio:
image: docker.io/alfresco/alfresco-transform-core-aio:5.1.4
environment:
ACTIVEMQ_URL: nio://activemq:61616
ACTIVEMQ_USER: admin
ACTIVEMQ_PASSWORD: admin
JAVA_OPTS: >-
-Dserver.tomcat.threads.min=4
-Dserver.tomcat.threads.max=12
-XX:MinRAMPercentage=50
-XX:MaxRAMPercentage=80
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8090/actuator/health"]
interval: 30s
timeout: 10s
retries: 3
depends_on:
activemq:
condition: service_healthy
alfresco:
image: docker.io/alfresco/alfresco-content-repository-community:23.3.0
environment:
JAVA_TOOL_OPTIONS: >-
-Dencryption.keystore.type=JCEKS
-Dencryption.cipherAlgorithm=DESede/CBC/PKCS5Padding
-Dencryption.keyAlgorithm=DESede
-Dencryption.keystore.location=/usr/local/tomcat/shared/classes/alfresco/extension/keystore/keystore
-Dmetadata-keystore.password=mp6yc0UD9e
-Dmetadata-keystore.aliases=metadata
-Dmetadata-keystore.metadata.password=oKIWzVdEdA
-Dmetadata-keystore.metadata.algorithm=DESede
JAVA_OPTS: >-
-Ddb.driver=org.postgresql.Driver
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
-Dsolr.host=solr6
-Dsolr.secureComms=secret
-Dsolr.sharedSecret=secret
-Dindex.subsystem.name=solr6
-Dcsrf.filter.enabled=false
-Dmessaging.broker.url="failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true"
-DlocalTransform.core-aio.url=http://transform-core-aio:8090/
-Ddeployment.method=DOCKER_COMPOSE
-XX:MinRAMPercentage=50
-XX:MaxRAMPercentage=80
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/probes/-ready-"]
interval: 30s
timeout: 3s
retries: 3
start_period: 1m
depends_on:
postgres:
condition: service_healthy
activemq:
condition: service_healthy
transform-core-aio:
condition: service_healthy
volumes:
- ./data/alf-repo-data:/usr/local/tomcat/alf_data
solr6:
image: docker.io/alfresco/alfresco-search-services:2.0.12
environment:
SOLR_ALFRESCO_HOST: "alfresco"
SOLR_ALFRESCO_PORT: "8080"
SOLR_SOLR_HOST: "solr6"
SOLR_SOLR_PORT: "8983"
SOLR_CREATE_ALFRESCO_DEFAULTS: "alfresco"
ALFRESCO_SECURE_COMMS: "secret"
JAVA_TOOL_OPTIONS: >-
-Dalfresco.secureComms.secret=secret
healthcheck:
test: ["CMD", "curl", "-f", "-H", "X-Alfresco-Search-Secret:secret", "http://localhost:8983/solr/alfresco/admin/ping"]
interval: 30s
timeout: 10s
retries: 5
depends_on:
alfresco:
condition: service_healthy
volumes:
- ./data/solr-data:/opt/alfresco-search-services/data
share:
image: docker.io/alfresco/alfresco-share:23.3.0
environment:
REPO_HOST: "alfresco"
REPO_PORT: "8080"
JAVA_OPTS: >-
-XX:MinRAMPercentage=50
-XX:MaxRAMPercentage=80
-Dalfresco.host=localhost
-Dalfresco.port=8080
-Dalfresco.context=alfresco
-Dalfresco.protocol=http
depends_on:
alfresco:
condition: service_healthy
proxy:
image: docker.io/alfresco/alfresco-acs-nginx:3.4.2
environment:
DISABLE_PROMETHEUS: "true"
DISABLE_SYNCSERVICE: "true"
DISABLE_ADW: "true"
DISABLE_CONTROL_CENTER: "true"
depends_on:
share:
condition: service_started
alfresco:
condition: service_started
ports:
- "8080:8080"