Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataverse port for previewers #70

Open
Dragonking3x opened this issue Jul 4, 2022 · 1 comment
Open

Dataverse port for previewers #70

Dragonking3x opened this issue Jul 4, 2022 · 1 comment

Comments

@Dragonking3x
Copy link

After adding previewers, they try to look for port 8080.
We can't use port 8080 currently, because another application uses that port.

In docker-compose, there is an option to set the port to "8081:8080", and Dataverse itself works fine with it.
We tried to change the environment setting "socket_port" to 8081, but that doesn't change the port of the previewers.

image

@Dragonking3x
Copy link
Author

I found the environment to fix that problem.

environment:
  - "baseurlstring=${DV_HOSTNAME}\\:8081" # the "\\" are important, because without them the ":" will be cut away 
  -  "dataverse_siteUrl=http://${DV_HOSTNAME}:8081"

We use ${DV_HOSTNAME}, because we use the Ubuntu environment name, but you replace it with "localhost" for testing, the server IP, or the server Domain.
Example:

environment:
  - "baseurlstring=localhost\\:8081"
  -  "dataverse_siteUrl=http://localhost:8081"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant