From e85b82b2c6ae6ed635abf4111c178704382675a8 Mon Sep 17 00:00:00 2001 From: Oliver Bertuch Date: Thu, 4 Apr 2024 11:03:28 +0200 Subject: [PATCH] fix(compose): resolve mixed style env var declarations --- docker-compose.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b890a7d..0e44219 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,18 +8,17 @@ services: restart: on-failure user: payara environment: - - DATAVERSE_DB_HOST=postgres - - DATAVERSE_DB_USER=${DATAVERSE_DB_USER} - - DATAVERSE_DB_PASSWORD=${DATAVERSE_DB_PASSWORD} + # Database Connection DATAVERSE_DB_HOST: postgres DATAVERSE_DB_USER: ${DATAVERSE_DB_USER} DATAVERSE_DB_PASSWORD: ${DATAVERSE_DB_PASSWORD} - JVM_ARGS: -Ddataverse.pid.providers=fake - -Ddataverse.pid.default-provider=fake - -Ddataverse.pid.fake.type=FAKE - -Ddataverse.pid.fake.label=FakeDOIProvider - -Ddataverse.pid.fake.authority=10.5072 - -Ddataverse.pid.fake.shoulder=FK2/ + # Simple PID Provider Setup (as necessary since Dataverse 6.2) + DATAVERSE_PID_PROVIDERS: fake + DATAVERSE_PID_DEFAULT_PROVIDER: fake + DATAVERSE_PID_FAKE_TYPE: FAKE + DATAVERSE_PID_FAKE_LABEL: Fake DOI Provider + DATAVERSE_PID_FAKE_AUTHORITY: 10.5072 + DATAVERSE_PID_FAKE_SHOULDER: FK2/ ports: - '8080:8080' networks: