Hey all,
A few notes on running the docker quarkus image, trellisldp/trellis-postgresql:0.16.1, for my recent Firefox front end GUI testing. I am writing a Vue app that makes XHR requests to the Trellis backend on a different port. Since these requests are CORS enabled, it seems like Firefox reports many different issues as CORS related, even when they are not.
After finally testing the GUI in Chromium, I found one such problem, which was that my big TIFF image POST request exceeded the max body size in Quarkus HTTP. After adding the necessary environment variable in docker-compose.yml, it started working.
QUARKUS_HTTP_LIMITS_MAX_BODY_SIZE: "10G"
I also found that Firefox wanted this setting, even though I do not *think* that my XHR requests are using any credentials:
QUARKUS_HTTP_CORS_ACCESS_CONTROL_ALLOW_CREDENTIALS: "true"
Finally, the docker image did not start normally for me, at least until I re-added this setting that is present for trellis testing:
This public key does not belong to me, but it works for my tests. I think we need to document some setup steps for this, since it doesn't work (for me) "out of the box" anymore.
all the best from North Carolina,
Greg
--
Gregory N. Jansen
Research Software Architect
Advanced Information Collaboratory
School of Information Studies
University of Maryland in College Park