<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Workflow email URL's defaulting to 127.0.0.1 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120537#M33119</link>
    <description>&lt;P&gt;Thank you for the clarification but I must be missing a step.&amp;nbsp; I have added this configuration to every compose file I can find on the system in question but the links in the e-mails are still coming up with &lt;A href="http://127.0.0.1" target="_blank" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1&lt;/A&gt;.&amp;nbsp; am I missing a step to have this configuration applied (I have stopped and restarted all of the containers after the configuration change)?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 08:24:19 GMT</pubDate>
    <dc:creator>nick_trimming</dc:creator>
    <dc:date>2021-10-14T08:24:19Z</dc:date>
    <item>
      <title>Workflow email URL's defaulting to 127.0.0.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120531#M33113</link>
      <description>&lt;P&gt;I am running Alfresco community edition V7.1.0 in Docker containers running on Ubuntu 20.04.3 LTS.&lt;/P&gt;&lt;P&gt;Everything is working as it should except for workflow e-mails, which have the incorrect URL, they all start with &lt;A href="http://127.0.0.1" target="_blank" rel="noopener nofollow noreferrer"&gt;http://127.0.0.1&lt;/A&gt;.&amp;nbsp; I am fairly new to Docker containers and have tried editing the docker-compose.yml file as suggested in other posts but to no avail.&amp;nbsp; The URL's should start with &lt;A href="http://10.4.0.200" target="_blank" rel="noopener nofollow noreferrer"&gt;http://10.4.0.200&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I would appreciate if someone with some more experience could take a look at the docker-compose file below and let me know what I am missing (there are so many different docker-compose files in the installation but I think I am editing the correct one (Alfresco/app/acs-deployment/docker-compose/docker-compose.yml))&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;PRE&gt; JAVA_OPTS: "
                -Ddb.driver=org.postgresql.Driver
                -Ddb.username=alfresco
                -Ddb.password=alfresco
                -Ddb.url=jdbc:postgresql://postgres:5432/alfresco
                -Dsolr.host=solr6
                -Dsolr.port=8983
                -Dsolr.secureComms=none
                -Dsolr.base.url=/solr
                -Dindex.subsystem.name=solr6
                -Daos.baseUrlOverwrite=http://10.4.0.200:8080/alfresco/aos
                -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&amp;amp;jms.useCompression=true\"
                -Ddeployment.method=DOCKER_COMPOSE
                -Dtransform.service.enabled=true
                -Dtransform.service.url=http://transform-router:8095
                -Dsfs.url=http://shared-file-store:8099/
                -DlocalTransform.core-aio.url=http://transform-core-aio:8090/
                -Dcsrf.filter.enabled=false
                -Ddsync.service.uris=http://localhost:9090/alfresco
                -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
                "

    transform-router:
        mem_limit: 512m
        image: quay.io/alfresco/alfresco-transform-router:1.4.1-A3
        environment:
          JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
          ACTIVEMQ_URL: "nio://activemq:61616"

          CORE_AIO_URL : "http://transform-core-aio:8090"
 FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
        ports:
            - 8095:8095
        links:
          - activemq

    transform-core-aio:
        image: alfresco/alfresco-transform-core-aio:2.5.3
        mem_limit: 1536m
        environment:
            JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
            ACTIVEMQ_URL: "nio://activemq:61616"
            FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
        ports:
            - 8090:8090
        links:
        - activemq

    shared-file-store:
        image: quay.io/alfresco/alfresco-shared-file-store:0.15.0
        mem_limit: 512m
        environment:
            JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
            scheduler.content.age.millis: 86400000
            scheduler.cleanup.interval: 86400000
        ports:
            - 8099:8099
        volumes:
            - shared-file-store-volume:/tmp/Alfresco/sfs

    share:
        image: quay.io/alfresco/alfresco-share:7.1.0-M2
        mem_limit: 1g
        environment:
            REPO_HOST: "alfresco"
            REPO_PORT: "8080"
            JAVA_OPTS: "
                -XX:MinRAMPercentage=50
                -XX:MaxRAMPercentage=80
                -Dalfresco.host=10.4.0.200
                -Dalfresco.port=8080
                -Dalfresco.context=alfresco
                -Dalfresco.protocol=http
                "

    postgres:
        image: postgres:13.1
        mem_limit: 512m
        environment:
            - POSTGRES_PASSWORD=alfresco
            - POSTGRES_USER=alfresco
            - POSTGRES_DB=alfresco
        command: postgres -c max_connections=300 -c log_min_messages=LOG
        ports:
            - 5432:5432
 solr6:
        image: alfresco/alfresco-search-services:2.0.2
        mem_limit: 2g
        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
            #HTTP by default
            - ALFRESCO_SECURE_COMMS=none
        ports:
            - 8083:8983 #Browser port

    activemq:
        image: alfresco/alfresco-activemq:5.16.1
        mem_limit: 1g
        ports:
            - 8161:8161 # Web Console
            - 5672:5672 # AMQP
            - 61616:61616 # OpenWire
            - 61613:61613 # STOMP

    digital-workspace:
        image: quay.io/alfresco/alfresco-digital-workspace:2.3.0-adw
        mem_limit: 128m
        environment:
            APP_CONFIG_AUTH_TYPE: "BASIC"
            BASE_PATH: ./

    proxy:
        image: alfresco/alfresco-acs-nginx:3.1.1
        mem_limit: 128m
        depends_on:
            - alfresco
            - digital-workspace
        ports:
            - 8080:8080
        links:
            - digital-workspace
            - alfresco
            - share

    sync-service:
        image: quay.io/alfresco/service-sync:3.4.1-M1
        mem_limit: 1g
        environment:
            JAVA_OPTS : "
            -Dsql.db.driver=org.postgresql.Driver
            -Dsql.db.url=jdbc:postgresql://postgres:5432/alfresco
 -Dsql.db.username=alfresco
            -Dsql.db.password=alfresco
            -Dmessaging.broker.host=activemq
            -Drepo.hostname=alfresco
            -Drepo.port=8080
            -Ddw.server.applicationConnectors[0].type=http
            -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80
            "

        ports:
            - 9090:9090

volumes:
    shared-file-store-volume:
        driver_opts:
            type: tmpfs
            device: tmpfs


&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Oct 2021 12:53:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120531#M33113</guid>
      <dc:creator>nick_trimming</dc:creator>
      <dc:date>2021-10-12T12:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow email URL's defaulting to 127.0.0.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120532#M33114</link>
      <description>&lt;P&gt;You need to set the &lt;A href="https://docs.alfresco.com/content-services/latest/config/repository/#sysadmin-props" target="_self" rel="nofollow noopener noreferrer"&gt;SysAdminParams subsystem config properties&lt;/A&gt; via JAVA_OPTS to "tell" ACS which URLs to construct for emails. Specifically you want to set alfresco.host / alfresco.protocol / alfresco.port in accordance with your user-facing proxy / loadbalancer / gateway.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 14:23:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120532#M33114</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-10-13T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow email URL's defaulting to 127.0.0.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120533#M33115</link>
      <description>&lt;P&gt;Thank you for this information.&amp;nbsp; is the notation correct below, as I thought I had already done this?&amp;nbsp; Please forgive my ignorance on this.&lt;/P&gt;&lt;PRE&gt;JAVA_OPTS: "
                -XX:MinRAMPercentage=50
                -XX:MaxRAMPercentage=80
                -Dalfresco.host=10.4.0.200
                -Dalfresco.port=8080
                -Dalfresco.context=alfresco
                -Dalfresco.protocol=http
                "&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Oct 2021 14:28:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120533#M33115</guid>
      <dc:creator>nick_trimming</dc:creator>
      <dc:date>2021-10-13T14:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow email URL's defaulting to 127.0.0.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120534#M33116</link>
      <description>&lt;P&gt;You need to include those properties also in "alfresco" service.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 06:00:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120534#M33116</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-10-14T06:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow email URL's defaulting to 127.0.0.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120535#M33117</link>
      <description>&lt;P&gt;Please could you give me some guidance as to how I achieve this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 06:38:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120535#M33117</guid>
      <dc:creator>nick_trimming</dc:creator>
      <dc:date>2021-10-14T06:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow email URL's defaulting to 127.0.0.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120536#M33118</link>
      <description>&lt;PRE&gt;alfresco:
    image: alfresco/alfresco-content-repository-community:7.1.0
    environment:
        JAVA_OPTS: "
          -Dalfresco.host=10.4.0.200
          -Dalfresco.port=8080
          -Dalfresco.context=alfresco
          -Dalfresco.protocol=http
        "&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Oct 2021 07:44:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120536#M33118</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-10-14T07:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow email URL's defaulting to 127.0.0.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120537#M33119</link>
      <description>&lt;P&gt;Thank you for the clarification but I must be missing a step.&amp;nbsp; I have added this configuration to every compose file I can find on the system in question but the links in the e-mails are still coming up with &lt;A href="http://127.0.0.1" target="_blank" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1&lt;/A&gt;.&amp;nbsp; am I missing a step to have this configuration applied (I have stopped and restarted all of the containers after the configuration change)?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 08:24:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120537#M33119</guid>
      <dc:creator>nick_trimming</dc:creator>
      <dc:date>2021-10-14T08:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow email URL's defaulting to 127.0.0.1</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120538#M33120</link>
      <description>&lt;P&gt;Some workflows - such as site invites - may be taking the host / URL from the browser context in which the user initiated them, and use those in emails. Make sure that you are also accessing Alfresco using the same public DNS name / URL as other users would need to use.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 11:07:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/workflow-email-url-s-defaulting-to-127-0-0-1/m-p/120538#M33120</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-10-14T11:07:36Z</dc:date>
    </item>
  </channel>
</rss>

