Skip to content

Commit

Permalink
Merge pull request #10792 from IQSS/10756-no_CT_
Browse files Browse the repository at this point in the history
use DATAVERSE_SITEURL instead of _CT_ version
  • Loading branch information
jp-tosca authored Aug 29, 2024
2 parents 5804883 + 8503a32 commit a62b7cf
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 a62b7cf

Please sign in to comment.