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

Docker image with previewers for local setup #90

Open
gschmutz opened this issue Nov 15, 2024 · 2 comments
Open

Docker image with previewers for local setup #90

gschmutz opened this issue Nov 15, 2024 · 2 comments

Comments

@gschmutz
Copy link

This week I have implemented a solution to run the previewers locally as a docker container. Have it ready in my local setup using docker compose

  #  ================================== Dataverse Previewers Provider ========================================== #
  dataverse-previewers-provider:
    image: trivadis/dataverse-previewers-provider:latest
    container_name: dataverse-previewers-provider
    hostname: dataverse-previewers-provider
    labels:
      com.platys.name: dataverse
      com.platys.description: Dataverse Previewers
      com.platys.webapp.title: Dataverse Previewers
      com.platys.webapp.url: http://dataplatform:28395/previewers/
    ports:
      - 28395:8080
    environment:
      - NGINX_HTTP_PORT=8080
      - PREVIEWERS_PROVIDER_URL=http://${PUBLIC_IP}:28395
      - VERSIONS="v1.4,betatest"
    volumes:
      - ./data-transfer:/data-transfer
    restart: unless-stopped

It uses the localinstall.sh at container startup time, so that it is possible to define the versions which should be supported.

Interested in a PR?

@pdurbin
Copy link
Member

pdurbin commented Nov 15, 2024

@gschmutz yes! We have an issue about this over here:

Can we please discuss more there? Or better yet, perhaps, in #containers at https://dataverse.zulipchat.com ?

@gschmutz
Copy link
Author

Hi @pdurbin, wasn't aware of the other issue and in fact it was exactly the problem I faced with trying to use the previewers hosted on Github. Let's discuss it there ... but I will also come back to #containers at https://dataverse.zulipchat.com/ as I have some other ideas to discuss ....

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

2 participants