-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathalfresco-compose.yml
94 lines (94 loc) · 2.45 KB
/
alfresco-compose.yml
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
version: '2.1'
networks:
alfresco-network:
proxy-network:
external:
name: "${PROXY_NETWORK}"
volumes:
pg-alfresco-volume:
driver: "${VOLUME_DRIVER}"
alfresco-index-volume:
driver: "${VOLUME_DRIVER}"
driver_opts:
size: 102400
alfresco-tomcat-logs-volume:
driver: "${VOLUME_DRIVER}"
driver_opts:
size: 51200
alfresco-content-volume:
driver: "${VOLUME_DRIVER}"
driver_opts:
size: 1024000
services:
pg-alfresco:
image: postgres:${POSTGRES_VERSION}
restart: unless-stopped
logging:
driver: "journald"
networks:
- alfresco-network
ports:
- "5432"
volumes:
- pg-alfresco-volume:/var/lib/postgresql/data
environment:
constraint:volume.driver: =${VOLUME_DRIVER}
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco
POSTGRES_DB: alfresco
alfresco:
image: fjudith/alfresco:${ALFRESCO_VERSION}
mem_reservation: 1024m
restart: unless-stopped
logging:
driver: "journald"
dns:
- ${DNS_SERVER}
networks:
- alfresco-network
ports:
- "8080"
volumes:
- alfresco-index-volume:/alfresco/alf_data
- alfresco-tomcat-logs-volume:/alfresco/tomcat/logs
- alfresco-content-volume:/alfresco/content
depends_on:
- "pg-alfresco"
environment:
constraint:volume.driver: =${VOLUME_DRIVER}
CONTENT_STORE: /alfresco/content
REVERSE_PROXY_URL: "http://${ALFRESCO_PROXY_HOST}"
ALFRESCO_PORT: 80
SHARE_PORT: 80
DB_HOST: pg-alfresco
DB_KIND: postgresql
DB_NAME: alfresco
DB_PASSWORD: alfresco
DB_USERNAME: alfresco
LDAP_AUTH_USERNAMEFORMAT: uid=%s,${LDAP_USER_BASEDN}
LDAP_ENABLED: "true"
LDAP_GROUP_SEARCHBASE: ${LDAP_GROUP_BASEDN}
LDAP_SECURITY_CREDENTIALS: ${LDAP_PWD}
LDAP_SECURITY_PRINCIPAL: ${LDAP_ADMIN}
LDAP_URL: ${LDAP_URI}
LDAP_USER_SEARCHBASE: ${LDAP_USER_BASEDN}
MAIL_HOST: ${SMTP_SERVER}
MAIL_USERNAME: ${SMTP_USER}
MAIL_PASSWORD: ${SMTP_PASS}
MAIL_FROM_DEFAULT: ${SMTP_EMAIL}
MAIL_SMTP_AUTH: "true"
NOTIFICATION_EMAIL_SITEINVITE: "true"
OOO_ENABLED: "false"
CATALINA_OPTS: "-Duser.timezone=${TIMEZONE} -Xms512M -Xmx2048M"
alfresco-proxy:
image: openfrontier/alfresco-proxy
restart: unless-stopped
logging:
driver: "journald"
networks:
- alfresco-network
- proxy-network
ports:
- "80"
depends_on:
- "alfresco"