<?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: How to run alfresco and share containers in a specific time zone in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84001#M25643</link>
    <description>&lt;P&gt;&lt;FONT&gt;It&amp;nbsp; dose not work on windows because there is no /etc/timezone on Windows&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 14:22:14 GMT</pubDate>
    <dc:creator>kaynezhang</dc:creator>
    <dc:date>2020-09-30T14:22:14Z</dc:date>
    <item>
      <title>How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83994#M25636</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;my alfresco and share containers running by default in GMT. Which is causing some timestamp specific custom jobs run at wrong timings that required time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;how can i make it running in ET zone?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 18:20:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83994#M25636</guid>
      <dc:creator>venur</dc:creator>
      <dc:date>2020-09-26T18:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83995#M25637</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;you can set the time zone in your host machine then you can map your local time to the container through volume mapping. Like this,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt; volumes: 
   - /etc/localtime:/etc/localtime &lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 27 Sep 2020 03:41:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83995#M25637</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-09-27T03:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83996#M25638</link>
      <description>&lt;P&gt;Tx&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/39620"&gt;@kaynezhang&lt;/A&gt;&amp;nbsp;, I tried adding the instructions in docker compose for acs service. And when i launching containers, acs is failing without any trace of errors. in docker ps result i am not seeing acs. Not seeing any log why failing. when i am removing the instructions, it is starting fine.&lt;/P&gt;&lt;P&gt;I try on our ubuntu dev server. I will update results&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 00:57:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83996#M25638</guid>
      <dc:creator>venur</dc:creator>
      <dc:date>2020-09-29T00:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83997#M25639</link>
      <description>&lt;P&gt;There maybe something wrong with your&amp;nbsp;&lt;SPAN&gt;docker compose&lt;/SPAN&gt; file ,please paste it here&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 02:39:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83997#M25639</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-09-29T02:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83998#M25640</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/39620"&gt;@kaynezhang&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So when tried on ubuntu server it worked but not working on developer system. We are using docker desktop on developer system.&lt;/P&gt;&lt;P&gt;find the compose file :&lt;/P&gt;&lt;PRE&gt;services:
    alfresco:
        build:
          dockerfile: ./Dockerfile
          context: ./configs-to-override/alfresco
        mem_limit: 8g
        environment:
            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
                -Dshare.host=127.0.0.1
                -Dshare.port=7080
                -Dalfresco.host=localhost
                -Dalfresco.port=7080
                -Daos.baseUrlOverwrite=http://localhost:7080/alfresco/aos
                -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&amp;amp;jms.useCompression=true\"
                -Ddeployment.method=DOCKER_COMPOSE
                -DlocalTransform.core-aio.url=http://transform-core-aio:8090/
                -Dalfresco-pdf-renderer.url=http://transform-core-aio:8090/
                -Djodconverter.url=http://transform-core-aio:8090/
                -Dimg.url=http://transform-core-aio:8090/
                -Dtika.url=http://transform-core-aio:8090/
                -Dtransform.misc.url=http://transform-core-aio:8090/
                -Dcsrf.filter.enabled=false
                -Xms8g -Xmx8g
                "
	 volumes:
	    - ./alfresco/alf_data:/usr/local/tomcat/alf_data
            - /etc/localtime:/etc/localtime

    transform-core-aio:
        image: alfresco/alfresco-transform-core-aio:2.3.4
        mem_limit: 1536m
        environment:
            JAVA_OPTS: " -Xms256m -Xmx1536m"
        ports:
            - 8090:8090

    share:
        build:
          dockerfile: ./Dockerfile
          context: ./configs-to-override/share
        mem_limit: 2g
        environment:
            REPO_HOST: "alfresco"
            REPO_PORT: "7080"
            JAVA_OPTS: "
                -Xms2g
                -Xmx2g
                -Dalfresco.host=localhost
                -Dalfresco.port=7080
                -Dalfresco.context=alfresco
                -Dalfresco.protocol=http
                "

    postgres:
        image: postgres:11.7
        mem_limit: 1g
        environment:
            - POSTGRES_PASSWORD=alfresco
            - POSTGRES_USER=alfresco
            - POSTGRES_DB=alfresco
        command: postgres -c max_connections=300 -c log_min_messages=LOG
        ports:
            - 5432:5432
	volumes:
            - ./postgres/data:/var/lib/postgresql/data

    solr6:
        image: alfresco/alfresco-search-services:1.4.2.2
        mem_limit: 2g
        environment:
            #Solr needs to know how to register itself with Alfresco
            - SOLR_ALFRESCO_HOST=alfresco
            - SOLR_ALFRESCO_PORT=7080
            #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
            - "SOLR_JAVA_MEM=-Xms2g -Xmx2g"
        ports:
            - 8083:8983 #Browser port
	volumes:
	    - ./solr6/contentstore:/opt/alfresco-search-services/contentstore
            - ./solr6/data:/opt/alfresco-search-services/data

    activemq:
        image: alfresco/alfresco-activemq:5.15.8
        mem_limit: 1g
        ports:
            - 8161:8161 # Web Console
            - 5672:5672 # AMQP
            - 61616:61616 # OpenWire
            - 61613:61613 # STOMP

    proxy:
        build:
          dockerfile: ./Dockerfile
          context: ./configs-to-override/proxy
        mem_limit: 256m
        depends_on:
            - alfresco
        ports:
            - 7080:7080
        links:
            - alfresco
            - share&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:54:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83998#M25640</guid>
      <dc:creator>venur</dc:creator>
      <dc:date>2020-09-29T16:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83999#M25641</link>
      <description>&lt;P&gt;I am not sure what you mean by&amp;nbsp;&lt;SPAN&gt; &lt;SPAN&gt;not working on developer system&lt;/SPAN&gt;, what is your developer system &lt;FONT&gt;environment&lt;/FONT&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:52:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/83999#M25641</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-09-29T17:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84000#M25642</link>
      <description>&lt;P&gt;i mean to say developer system is using docker desktop on windows. It is still not working. Shared the compose file above. Working fine on ubuntu dev server.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 13:59:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84000#M25642</guid>
      <dc:creator>venur</dc:creator>
      <dc:date>2020-09-30T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84001#M25643</link>
      <description>&lt;P&gt;&lt;FONT&gt;It&amp;nbsp; dose not work on windows because there is no /etc/timezone on Windows&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 14:22:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84001#M25643</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2020-09-30T14:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84002#M25644</link>
      <description>&lt;P&gt;So there are two things. One- synchronize the time/timezone etc. with host machine to containers. Two - Set the timezone for containers. In the first case, whatever time/timezone is set on host machine, it will be synchronized to containers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In second case, you can use different timezone on host machine but can set a specific time zone for containers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case of synchronization, we bind mount host machine's &lt;STRONG&gt;localtime&lt;/STRONG&gt; file. Which is true for linux but for windows it may not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case of setting time zone, it is independent of host machine, whether it is windows or linux.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try below settings and see if it works for you on "developer system" and "ubuntu dev server" both as reported by you.&lt;/P&gt;
&lt;PRE&gt;For EDT timezone:

environment:
            TZ: "America/New_York"

or&lt;BR /&gt;
environment:
          - TZ=America/New_York&lt;/PRE&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;A service level example:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;alfresco:
        build:
          dockerfile: ./Dockerfile
          context: ./configs-to-override/alfresco
        mem_limit: 8g
        environment:
            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
                -Dshare.host=127.0.0.1
                -Dshare.port=7080
                -Dalfresco.host=localhost
                -Dalfresco.port=7080
                -Daos.baseUrlOverwrite=http://localhost:7080/alfresco/aos
                -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&amp;amp;jms.useCompression=true\"
                -Ddeployment.method=DOCKER_COMPOSE
                -DlocalTransform.core-aio.url=http://transform-core-aio:8090/
                -Dalfresco-pdf-renderer.url=http://transform-core-aio:8090/
                -Djodconverter.url=http://transform-core-aio:8090/
                -Dimg.url=http://transform-core-aio:8090/
                -Dtika.url=http://transform-core-aio:8090/
                -Dtransform.misc.url=http://transform-core-aio:8090/
                -Dcsrf.filter.enabled=false
                -Xms8g -Xmx8g
                "
&lt;STRONG&gt;         TZ: "America/New_York"
&lt;/STRONG&gt;	 volumes:
	    - ./alfresco/alf_data:/usr/local/tomcat/alf_data&lt;/PRE&gt;
&lt;P&gt;Second e.g.&lt;/P&gt;
&lt;PRE&gt;postgres:
        image: postgres:11.7
        mem_limit: 1g
        environment:
            - POSTGRES_PASSWORD=alfresco
            - POSTGRES_USER=alfresco
            - POSTGRES_DB=alfresco
&lt;STRONG&gt;            - TZ=America/New_York
&lt;/STRONG&gt;        command: postgres -c max_connections=300 -c log_min_messages=LOG
        ports:
            - 5432:5432
	volumes:
            - ./postgres/data:/var/lib/postgresql/data&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2020 14:31:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84002#M25644</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-09-30T14:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84003#M25645</link>
      <description>&lt;P&gt;Worked!! I tried today on developer system docker desktop and ubuntu dev sever both.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;Thnx for great explanation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 13:45:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84003#M25645</guid>
      <dc:creator>venur</dc:creator>
      <dc:date>2020-10-01T13:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84004#M25646</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82702"&gt;@venur&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's great - thanks for accepting the solution!&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 13:51:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84004#M25646</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-10-01T13:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to run alfresco and share containers in a specific time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84005#M25647</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82702"&gt;@venur&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Worked!! I tried today on developer system docker desktop and ubuntu dev sever both.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;Thnx for great explanation.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Glad to hear that it worked for you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 14:56:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-run-alfresco-and-share-containers-in-a-specific-time-zone/m-p/84005#M25647</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-10-01T14:56:37Z</dc:date>
    </item>
  </channel>
</rss>

