07-27-2018 09:30 AM
I'm new to docker. Please, help to figure out how to install a module (OnlyOffice integration) to dockerized installation of Alfresco.
I've installed Alfresco using docker-compose.yml (attached):
Now I have 4 containers:
a62fa579f38c alfresco/alfresco-share:6.0.b
7e2afbeb545b alfresco/alfresco-content-repository-community:6.0.7-ga
209301bd7e96 postgres:10.1
de7b6d9c460b alfresco/alfresco-search-services:1.1.1
I've tried
1) to copy onlyoffice-alfresco-share-1.0.5.amp file into a62fa579f38c containers /usr/local/tomcat/amps_share dir and restart container
2) set environment in docker-compose.yml:
environment:
- AMP_DIR_SHARE=/usr/local/tomcat/amps_share
- REPO_HOST=alfresco
- REPO_PORT=8080
3) According to the guide, didn't find any apply_amps.sh inside containers
11-15-2018 02:49 AM
Than you for all of your quick replies and the fix!
11-14-2018 10:18 AM
The post is public now, did some editing and forgot to publish again.
11-15-2018 02:49 AM
Than you for all of your quick replies and the fix!
07-30-2018 12:01 PM
A simplified approach (compared to the one suggested by Angel) could be:
Create a simple Dockerfile like this:
FROM alfresco/alfresco-content-repository-community:6.0.7-ga
COPY amps/<your-amp>.amp \
/usr/local/tomcat/amps/<your-amp>.amp
RUN java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt*.jar install \
/usr/local/tomcat/amps/<your-amp>.amp \
/usr/local/tomcat/webapps/alfresco -nobackup -force
In your docker-compose, you can now rebuild the alfresco docker image:
[...]
alfresco:
build: <your/Dockerfile/path>
environment:
JAVA_OPTS : "
-Ddb.driver=org.postgresql.Driver
-Ddb.username=alfresco
-Ddb.password=alfresco
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
...
[...]
Explore our Alfresco products with the links below. Use labels to filter content by product module.