cancel
Showing results for 
Search instead for 
Did you mean: 

How to use mount as content store - Alfresco Community 7.0 on Ubuntu

Ladeilucas
Champ in-the-making
Champ in-the-making

Hi everyone,

I'm new to Alfresco and need help.

I'm installing Alfresco Community 7.0 on an Ubuntu Server 22.04 utilizing Docker Compose, following the instructions (https://docs.alfresco.com/content-services/community/install/containers/docker-compose/). I've mounted a disk from a NAS via CIFS on '/etc/fstab' and would like to use it as the content store for Alfresco. Is this the best way to do this?

I searched various posts of the forum and found scattered pieces of information. However, none that could clarify 100%.

I know it's a lot to ask, but is there any step-by-step?

Best regards!

2 REPLIES 2

fedorow
Elite Collaborator
Elite Collaborator

You must to create a persistant volumes.

1. Create the project by installer https://github.com/Alfresco/alfresco-docker-installer . Ask for volume creation script.

2. Look inside the docker-compose.yml file in the section 'volumes' for each service.

3. Add 'volumes' section into your docker-compose.yml as it is in installer example. The alfresco service for example will be like this:

services:
    alfresco:
        ...
        volumes:
            - /mnt/alfresco/data/alf-repo-data:/usr/local/tomcat/alf_data
            - /mnt/alfresco/logs/alfresco:/usr/local/tomcat/logs

4. Change the ownership of the folders for each container. Look at the installer Readme.md and volumes creation script to get the owners.

 
 

 

 

donny
Champ in-the-making
Champ in-the-making

Didn't saw the first reply, sorry.