mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
REPO-3061: use environment variable to configure Share
This commit is contained in:
@@ -20,6 +20,9 @@ services:
|
||||
|
||||
share:
|
||||
image: quay.io/alfresco/alfresco-full-share:${SHARE_TAG}
|
||||
environment:
|
||||
- REPO_HOST=alfresco
|
||||
- REPO_PORT=8080
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
||||
|
@@ -5,7 +5,5 @@ RUN mkdir -p /usr/local/tomcat/amps_share
|
||||
COPY target/alfresco-mmt/* /usr/local/tomcat/alfresco-mmt/
|
||||
COPY target/amps_share /usr/local/tomcat/amps_share
|
||||
|
||||
RUN sed -i "s/localhost:8080/alfresco:8080/" /usr/local/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
|
||||
|
||||
RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \
|
||||
/usr/local/tomcat/amps_share /usr/local/tomcat/webapps/share -directory -nobackup -force
|
Reference in New Issue
Block a user