diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ecd1f75 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# IDE folders +.idea/ diff --git a/action.yml b/action.yml index 8bdb1df..760e15d 100644 --- a/action.yml +++ b/action.yml @@ -103,4 +103,4 @@ runs: version=$(curl -s 'http://localhost:8080/api/info/version' | jq -r '.data.version') echo "dv_version=$version" >>"$GITHUB_OUTPUT" - echo "::endgroup::" \ No newline at end of file + echo "::endgroup::" diff --git a/docker-compose.yml b/docker-compose.yml index 209a812..0e44219 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,9 +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} + # 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: