Commit 23680384 authored by Hermann Mayer's avatar Hermann Mayer

[Config] Fixed wrong solr data mount points.

parent 533572da
......@@ -33,7 +33,8 @@ build-image:
start-image: stop-image
docker run --name='$(QUICKSTART_CONTAINER)' -d \
-v "`pwd`/data/contentstore:/var/lib/tomcat7/alf_data/contentstore" \
-v "`pwd`/data/solrhome:/var/lib/tomcat7/alf_data/solrhome" \
-v "`pwd`/data/solrhome/archive:/var/lib/tomcat7/alf_data/solrhome/archive" \
-v "`pwd`/data/solrhome/workspace:/var/lib/tomcat7/alf_data/solrhome/workspace" \
-e 'ALFRESCO_HOST=alfresco.e5.lan' \
-e 'ALFRESCO_PORT=80' \
-e 'SHARE_HOST=docs.jity.de' \
......@@ -48,7 +49,8 @@ start-image: stop-image
start-bash-image:
docker run -i --name='$(QUICKSTART_CONTAINER)-bash' \
-v "`pwd`/data/contentstore:/var/lib/tomcat7/alf_data/contentstore" \
-v "`pwd`/data/solrhome:/var/lib/tomcat7/alf_data/solrhome" \
-v "`pwd`/data/solrhome/archive:/var/lib/tomcat7/alf_data/solrhome/archive" \
-v "`pwd`/data/solrhome/workspace:/var/lib/tomcat7/alf_data/solrhome/workspace" \
-e 'ALFRESCO_HOST=alfresco.e5.lan' \
-e 'ALFRESCO_PORT=80' \
-e 'SHARE_HOST=docs.jity.de' \
......
......@@ -34,7 +34,8 @@ The next sections will help you building a shipable image of the app.
# Run the container
$ docker run -d \
-v "`pwd`/data/contentstore:/var/lib/tomcat7/alf_data/contentstore" \
-v "`pwd`/data/solrhome:/var/lib/tomcat7/alf_data/solrhome" \
-v "`pwd`/data/solrhome/archive:/var/lib/tomcat7/alf_data/solrhome/archive" \
-v "`pwd`/data/solrhome/workspace:/var/lib/tomcat7/alf_data/solrhome/workspace" \
-e 'ALFRESCO_HOST=alfresco.e5.lan' \
-e 'ALFRESCO_PORT=80' \
-e 'SHARE_HOST=docs.jity.de' \
......@@ -82,8 +83,9 @@ volume its fine, too. Anyways the following examples are host bind mounts.
Alfresco puts all uploaded content to `/var/lib/tomcat7/alf_data/contentstore`.
This directory needs to be mounted. See the [Quick Start](#quick-start) section above.
Solr puts its search index files to `/var/lib/tomcat7/alf_data/solrhome`.
It is usefull to mount this directory, too. So Solr do not need to rebuild it's
Solr puts its search index files to `/var/lib/tomcat7/alf_data/solrhome/archive` and
`/data/solrhome/workspace:/var/lib/tomcat7/alf_data/solrhome/workspace`.
It is usefull to mount these directories, too. So Solr do not need to rebuild it's
indexes after a container reboot.
### Development
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment