Skip to content

Commit

Permalink
Merge pull request IQSS#11025 from gschmutz/develop
Browse files Browse the repository at this point in the history
Add two additional containers to provide Previewers locally
  • Loading branch information
pdurbin authored Nov 15, 2024
2 parents 62d3142 + d84ac89 commit bbf29cc
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 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:
DATAVERSE_SITEURL: "https://demo.example.org"
DATAVERSE_SITEURL: "http://${MACHINE_IP:-localhost}:8080"
DATAVERSE_DB_HOST: postgres
DATAVERSE_DB_PASSWORD: secret
DATAVERSE_DB_USER: dataverse
Expand Down Expand Up @@ -74,6 +74,36 @@ services:
volumes:
- ./data/app/data:/dv

previewers-provider:
image: trivadis/dataverse-previewers-provider:latest
container_name: previewers-provider
hostname: previewers-provider
ports:
- 9000:9000
networks:
- dataverse
environment:
- NGINX_HTTP_PORT=9000
- PREVIEWERS_PROVIDER_URL=http://${MACHINE_IP:-localhost}:9000
- VERSIONS="v1.4,betatest"

register-previewers:
container_name: register-previewers
hostname: register-previewers
image: trivadis/dataverse-deploy-previewers:latest
networks:
- dataverse
environment:
- DATAVERSE_URL=http://dataverse:8080
- TIMEOUT=10m
- PREVIEWERS_PROVIDER_URL=http://${MACHINE_IP:-localhost}:9000
- INCLUDE_PREVIEWERS=text,html,pdf,csv,comma-separated-values,tsv,tab-separated-values,jpeg,png,gif,markdown,x-markdown
- EXCLUDE_PREVIEWERS=
- REMOVE_EXISTING=True
command:
- deploy
restart: no

postgres:
container_name: "postgres"
hostname: postgres
Expand Down

0 comments on commit bbf29cc

Please sign in to comment.