Islandora-Devops / isle-dc

ISLE 8 - Dockerized Islandora 8 Deployment orchestrated with docker-compose
MIT License
23 stars 60 forks source link

Update docker-compose.cantaloupe.yml #360

Closed joshdentremont closed 1 year ago

joshdentremont commented 1 year ago

Changed the port, and added some middleware configuration to Cantaloupe so it works with Buildkit 2.0.0 and higher.

This matches the setup in the site template, and without this Cantaloupe will not work when using buildkit 2.0.0 or higher.

To test, spin up a site using buildkit 2.0.0 or higher and try to access Cantaloupe. You should get a 502 error, which is fixed by the port change, but then you will have a 404 error without the middleware additions. A new site with this change should let you access Cantaloupe as normal.

rbos commented 1 year ago

You also need - traefik.http.routers.${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe_http.middlewares=cantaloupe for the oddballs running HTTP-only.