Skip to content

Commit

Permalink
use DATAVERSE_SITEURL instead of _CT_ version #10756
Browse files Browse the repository at this point in the history
The _CT_ version is not needed now that we have upgraded to
Payara 6.2024.6 in #10495 which included this fix:
payara/Payara#6550
  • Loading branch information
pdurbin committed Aug 22, 2024
1 parent 2e633c1 commit 8503a32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions doc/sphinx-guides/source/container/running/demo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ Some JVM options can be configured as environment variables. For example, you ca
We are in the process of making more JVM options configurable as environment variables. Look for the term "MicroProfile Config" in under :doc:`/installation/config` in the Installation Guide to know if you can use them this way.

Please note that for a few environment variables (the ones that start with ``%ct`` in :download:`microprofile-config.properties <../../../../../src/main/resources/META-INF/microprofile-config.properties>`), you have to prepend ``_CT_`` to make, for example, ``_CT_DATAVERSE_SITEURL``. We are working on a fix for this in https://github.com/IQSS/dataverse/issues/10285.

There is a final way to configure JVM options that we plan to deprecate once all JVM options have been converted to MicroProfile Config. Look for "magic trick" under "tunables" at :doc:`../app-image` for more information.

Database Settings
Expand Down
2 changes: 1 addition & 1 deletion docker/compose/demo/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
restart: on-failure
user: payara
environment:
_CT_DATAVERSE_SITEURL: "https://demo.example.org"
DATAVERSE_SITEURL: "https://demo.example.org"
DATAVERSE_DB_HOST: postgres
DATAVERSE_DB_PASSWORD: secret
DATAVERSE_DB_USER: dataverse
Expand Down

0 comments on commit 8503a32

Please sign in to comment.