cancel
Showing results for 
Search instead for 
Did you mean: 

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

marcog
Confirmed Champ
Confirmed Champ

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 ACCEPTED ANSWER

cesarista
World-Class Innovator
World-Class Innovator

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 answer in original post

4 REPLIES 4

cesarista
World-Class Innovator
World-Class Innovator

Hi:

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

Regards.

--C.

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
World-Class Innovator
World-Class Innovator

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.

Thanks

Cesar