Include JAVA_OPTS options about country, user, region, language in Alfresco 7.2 Docker

cancel
Showing results for 
Search instead for 
Did you mean: 
marcog
Partner

Include JAVA_OPTS options about country, user, region, language in Alfresco 7.2 Docker

Jump to solution

Hello.

How can I tell Java from Alfresco Docker 7.2 installation Java country, user and language settings.

Adding to docker-compose.yml? It is like?

Or alfresco-global.properties? Or via SED in Alfresco and Share's Dockerfile?

Please guide me, which way and if you have any documentation.

export JAVA_OPTS="$JAVA_OPTS -Duser.country=AR -Duser.region=AR -Duser.language=es -Duser.timezone=\"America/Buenos_Aires\" -d64 -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8"

Thanks

1 Solution

Accepted Solutions
cesarista
Customer

Re: Include JAVA_OPTS options about country, user, region, language in Alfresco 7.2 Docker

Jump to solution

Hi:

You are (probably) running a docker-compose.yml like this,

https://github.com/AlfrescoArchive/acs-community-deployment/blob/master/docker-compose/docker-compos...

You may add the commented JAVA_OPTS options in line 43 for example. You need to restart your docker compose once added those properties.

Regards.

--C.

View solution in original post

4 Replies
cesarista
Customer

Re: Include JAVA_OPTS options about country, user, region, language in Alfresco 7.2 Docker

Jump to solution

Hi:

You may include them in JAVA_OPTS environment variable in docker-compose for image of the repository.

Regards.

--C.

marcog
Partner

Re: Include JAVA_OPTS options about country, user, region, language in Alfresco 7.2 Docker

Jump to solution

Cesar,

I'm new to this world of docker-compose.

Adding this line to docker-compose would look something like this:
-Duser.country=AR -Duser.region=AR -Duser.language=es -Duser.timezone=\"America/Buenos_Aires\" -d64 -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
each in a line?

Thanks

cesarista
Customer

Re: Include JAVA_OPTS options about country, user, region, language in Alfresco 7.2 Docker

Jump to solution

Hi:

You are (probably) running a docker-compose.yml like this,

https://github.com/AlfrescoArchive/acs-community-deployment/blob/master/docker-compose/docker-compos...

You may add the commented JAVA_OPTS options in line 43 for example. You need to restart your docker compose once added those properties.

Regards.

--C.

marcog
Partner

Re: Include JAVA_OPTS options about country, user, region, language in Alfresco 7.2 Docker

Jump to solution

Thanks

Cesar