Skip to content

Commit

Permalink
Added hypercube fedora settings back in
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelgbanks committed Nov 14, 2022
1 parent 4be2994 commit f43c7b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hypercube/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ RUN --mount=type=cache,id=hypercube-apk,sharing=locked,from=cache,target=/var/ca
addgroup nginx jwt && \
cleanup.sh

ENV HYPERCUBE_LOG_LEVEL=info
ENV HYPERCUBE_FCREPO_URL=fcrepo/fcrepo/rest \
HYPERCUBE_LOG_LEVEL=info

COPY --from=crayfish /etc/nginx/http.d/default.conf /etc/nginx/http.d/default.conf
COPY --from=crayfish --chown=nginx:nginx /var/www /var/www
Expand Down
1 change: 1 addition & 0 deletions hypercube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ additional settings, volumes, ports, etc.

| Environment Variable | Confd Key | Default | Description |
| :------------------- | :-------------------- | :----------------- | :------------------------------------------------------------------------------------------------ |
| HYPERCUBE_FCREPO_URL | /hypercube/fcrepo/url | fcrepo/fcrepo/rest | Fcrepo Rest API URL |
| HYPERCUBE_LOG_LEVEL | /hypercube/log/level | debug | Log level. Possible Values: debug, info, notice, warning, error, critical, alert, emergency, none |

[Hypercube]: https://github.com/Islandora/Crayfish/tree/main/Hypercube
2 changes: 2 additions & 0 deletions hypercube/rootfs/etc/confd/templates/config.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ hypercube:
# path to the convert executable
tesseract_executable: tesseract
pdftotext_executable: pdftotext
fedora_resource:
base_url: {{ getenv "HYPERCUBE_FCREPO_URL" }}
log:
# Valid log levels are:
# debug, info, notice, warning, error, critical, alert, emergency, none
Expand Down

0 comments on commit f43c7b9

Please sign in to comment.