-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-https.yml
More file actions
71 lines (66 loc) · 2.15 KB
/
Copy pathdocker-compose-https.yml
File metadata and controls
71 lines (66 loc) · 2.15 KB
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
version: "3"
services:
https:
build: ./https
ports:
- 443:443 #HTTPs
links:
- alfresco
- share
- solr6
alfresco:
# image: alfresco/alfresco-content-repository-community:6.0.5-ea
build: ./alfresco
environment:
JAVA_OPTS : "
-Ddb.driver=org.postgresql.Driver
-Ddb.username=alfresco
-Ddb.password=alfresco
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
-Dsolr.host=solr6
-Dsolr.port=8983
-Dsolr.secureComms=none
-Dsolr.base.url=/solr
-Dindex.subsystem.name=solr6
-Ddeployment.method=DOCKER_COMPOSE
"
volumes:
- ./data/alf-repo-data:/usr/local/tomcat/alf_data
ports:
- 21:2121 #FTP port
- 25:2525 #SMTP port
- 143:1143 #IMAP port
# - 445:1145 #CIFS
# - 137:1137/udp #CIFS
# - 138:1138/udp #CIFS
# - 139:1139 #CIFS
share:
# image: alfresco/alfresco-share:6.0.a
build: ./share
environment:
- REPO_HOST=alfresco
- REPO_PORT=8080
postgres:
image: postgres:10.1
environment:
- POSTGRES_PASSWORD=alfresco
- POSTGRES_USER=alfresco
- POSTGRES_DB=alfresco
command: postgres -c max_connections=300 -c log_min_messages=LOG
volumes:
- ./data/postgres-data:/var/lib/postgresql/data
ports:
- 5432:5432
solr6:
image: alfresco/alfresco-search-services:1.1.1
environment:
#Solr needs to know how to register itself with Alfresco
- SOLR_ALFRESCO_HOST=alfresco
- SOLR_ALFRESCO_PORT=8080
#Alfresco needs to know how to call solr
- SOLR_SOLR_HOST=solr6
- SOLR_SOLR_PORT=8983
#Create the default alfresco and archive cores
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
volumes:
- ./data/solr-data:/opt/alfresco-search-services/data