-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshare.yml
More file actions
37 lines (36 loc) · 949 Bytes
/
share.yml
File metadata and controls
37 lines (36 loc) · 949 Bytes
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
# SPDX-FileCopyrightText: 2021 Kaelan Thijs Fouwels <kaelan.thijs@fouwels.com>
#
# SPDX-License-Identifier: MIT
---
services:
share:
container_name: share
image: alfresco/alfresco-share:7.2.1
environment:
JAVA_OPTS: "-Xmx${SHARE_XM}"
REPO_HOST: alfresco
REPO_PORT: 8080
CSRF_FILTER_REFERER: https://cms.fouwels.com/.*
CSRF_FILTER_ORIGIN: https://cms.fouwels.com
configs:
- source: share
target: /config/entrypoint.sh
- source: share_logo
target: /usr/local/tomcat/webapps/share/themes/lightTheme/images/alfresco.svg
networks:
- share
- alfresco
restart: unless-stopped
entrypoint: ["/config/entrypoint.sh"]
command: ["catalina.sh", "run"]
deploy:
resources:
limits:
memory: ${SHARE_MEMLIMIT}
configs:
share:
file: ./config/share/entrypoint.sh
share_logo:
file: ./config/share/logo.svg
networks:
share: