Hola buenas como están tengo un inconveniente con los archivos temporales de Alfresco debido a que los mismos se están alojando en Overlay2 y no sé cómo evitar eso ya que definí en el docker-compose se alojen en una ruta especifica del siguiente modo
- /nfs/temp:/usr/local/tomcat/temp/
El inconveniente que cada que subo un archivo a alfresco se aloja localmente en el servidor que tiene poco espacio y no estan el NFS
# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose version: "2" services: alfresco: build: context: ./alfresco args: ALFRESCO_TAG: ${ALFRESCO_CE_TAG} DB: postgres API_EXPLORER_TAG: ${API_EXPLORER_TAG} mem_limit: 1856m depends_on: - postgres environment: JAVA_OPTS : ' -Ddb.driver=org.postgresql.Driver -Ddb.username=alfresco -Ddb.password=alfresco -Ddb.driver=org.postgresql.Driver -Ddb.url=jdbc:postgresql://postgres:5432/alfresco -Dsolr.host=solr6 -Dsolr.port=8983 -Dsolr.secureComms=none -Dsolr.baseUrl=/solr -Dindex.subsystem.name=solr6 -Dalfresco.host=${SERVER_NAME} -Dalfresco.port=80 -Dshare.host=${SERVER_NAME} -Dshare.port=80 -Daos.baseUrlOverwrite=http://${SERVER_NAME}/alfresco/aos -Dmessaging.broker.url="failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true" -Ddeployment.method=DOCKER_COMPOSE -Dcsrf.filter.enabled=false -Dftp.enabled=true -Dftp.port=2121 -Dftp.dataPortFrom=2433 -Dftp.dataPortTo=2434 -Dopencmis.server.override=true -Dopencmis.server.value=http://${SERVER_NAME}:80 -Dsmart.folders.enabled=true -Dlocal.transform.service.enabled=true -DlocalTransform.pdfrenderer.url=http://alfresco-pdf-renderer:8090/ -DlocalTransform.imagemagick.url=http://imagemagick:8090/ -DlocalTransform.libreoffice.url=http://libreoffice:8090/ -DlocalTransform.tika.url=http://tika:8090/ -DlocalTransform.misc.url=http://transform-misc:8090/ -Dlegacy.transform.service.enabled=true -Dalfresco-pdf-renderer.url=http://alfresco-pdf-renderer:8090/ -Djodconverter.url=http://libreoffice:8090/ -Dimg.url=http://imagemagick:8090/ -Dtika.url=http://tika:8090/ -Dtransform.misc.url=http://transform-misc:8090/ -Dcsrf.filter.enabled=false -Dalfresco.restApi.basicAuthScheme=true -XX:+UseG1GC -XX:+UseStringDeduplication -Xms1344m -Xmx1344m ' volumes: - /nfs/data/alf-repo-data:/usr/local/tomcat/alf_data - ./logs/alfresco:/usr/local/tomcat/logs - /nfs/temp:/usr/local/tomcat/temp/ ports: - 2121:2121 - 2433:2433 - 2434:2434 alfresco-pdf-renderer: image: alfresco/alfresco-pdf-renderer:${TRANSFORM_ENGINE_TAG} mem_limit: 512m environment: JAVA_OPTS: " -Xms256m -Xmx512m" ports: - 8090:8090 imagemagick: image: alfresco/alfresco-imagemagick:${TRANSFORM_ENGINE_TAG} mem_limit: 512m environment: JAVA_OPTS: " -Xms256m -Xmx512m" ports: - 8091:8090 libreoffice: image: alfresco/alfresco-libreoffice:${TRANSFORM_ENGINE_TAG} mem_limit: 512m environment: JAVA_OPTS: " -Xms256m -Xmx512m" ports: - 8092:8090 tika: image: alfresco/alfresco-tika:${TRANSFORM_ENGINE_TAG} mem_limit: 512m environment: JAVA_OPTS: " -Xms256m -Xmx512m" ports: - 8093:8090 transform-misc: image: alfresco/alfresco-transform-misc:${TRANSFORM_ENGINE_TAG} mem_limit: 512m environment: JAVA_OPTS: " -Xms256m -Xmx512m" ports: - 8094:8090 share: build: context: ./share args: SHARE_TAG: ${SHARE_TAG} SERVER_NAME: ${SERVER_NAME} mem_limit: 464m environment: REPO_HOST: "alfresco" REPO_PORT: "8080" CSRF_FILTER_REFERER: "http://atenea.test.cba.gov.ar/.*" CSRF_FILTER_ORIGIN: "http://atenea.test.cba.gov.ar" JAVA_OPTS: " -Xms336m -Xmx336m -Dalfresco.context=alfresco -Dalfresco.protocol=http " volumes: - ./logs/share:/usr/local/tomcat/logs postgres: image: postgres:${POSTGRES_TAG} mem_limit: 464m environment: - POSTGRES_PASSWORD=alfresco - POSTGRES_USER=alfresco - POSTGRES_DB=alfresco command: " postgres -c max_connections=200 -c logging_collector=on -c log_min_messages=LOG -c log_directory=/var/log/postgresql" ports: - 5432:5432 volumes: - ./data/postgres-data:/var/lib/postgresql/data - ./logs/postgres:/var/log/postgresql solr6: build: context: ./search args: SEARCH_TAG: $SEARCH_CE_TAG SOLR_HOSTNAME: solr6 ALFRESCO_HOSTNAME: alfresco ALFRESCO_COMMS: none CROSS_LOCALE: "true" mem_limit: 928m environment: #Solr needs to know how to register itself with Alfresco SOLR_ALFRESCO_HOST: "alfresco" SOLR_ALFRESCO_PORT: "8080" #Alfresco needs to know how to call solr SOLR_SOLR_HOST: "solr6" SOLR_SOLR_PORT: "8983" #Create the default alfresco and archive cores SOLR_CREATE_ALFRESCO_DEFAULTS: "alfresco,archive" SOLR_JAVA_MEM: "-Xms672m -Xmx672m" SOLR_OPTS: " -XX:NewSize=208m -XX:MaxNewSize=208m " volumes: - ./data/solr-data:/opt/alfresco-search-services/data - /nfs/backup/solr/alfresco:/opt/alfresco-search-services/backup/alfresco - /nfs/backup/solr/archive:/opt/alfresco-search-services/backup/archive activemq: image: alfresco/alfresco-activemq:${ACTIVEMQ_TAG} mem_limit: 1g ports: - 8161:8161 # Web Console - 5672:5672 # AMQP - 61616:61616 # OpenWire - 61613:61613 # STOMP content-app: image: alfresco/alfresco-content-app:${ACA_TAG} mem_limit: 256m depends_on: - alfresco - share # HTTP proxy to provide HTTP Default port access to services # SOLR API and SOLR Web Console are protected to avoid unauthenticated access proxy: image: gabrielbustos/acs-proxy:6.0.2 mem_limit: 300m environment: - PORT=80 depends_on: - alfresco - solr6 - share - content-app volumes: - ./config/nginx.htpasswd:/etc/nginx/conf.d/nginx.htpasswd - ./atenea-page:/var/sites/ ports: - 80:80
me falto definir algun volumen o algo ?
Creo que puede estar relacionado con los ficheros temporales generados por ImageMagick y LibreOffice. Ambos contendores están usando los volúmenes por defecto de Docker ("overlay2"). Deberías buscar la carpeta de almacenamiento de estos servicios y mapearla a tu NFS con un volumen externo en el Docker Compose.
Discussions about Alfresco Content Services and Alfresco Process Services in Spanish
Related:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.