Skip to content

Commit

Permalink
Merge pull request #360 from joshdentremont/patch-8
Browse files Browse the repository at this point in the history
Update docker-compose.cantaloupe.yml
  • Loading branch information
wgilling authored Oct 4, 2023
2 parents 2bcd55f + 2dc14e0 commit 1a8db05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/docker-compose/docker-compose.cantaloupe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- cantaloupe-data:/data
labels:
- traefik.enable=${EXPOSE_CANTALOUPE:-true}
- traefik.http.services.${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe.loadbalancer.server.port=8080
- traefik.http.services.${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe.loadbalancer.server.port=8182
- traefik.http.middlewares.cantaloupe-redirectscheme.redirectscheme.scheme=https
- traefik.http.middlewares.cantaloupe-redirectscheme.redirectscheme.permanent=true
- traefik.http.routers.${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe_http.service=${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe
Expand All @@ -28,6 +28,10 @@ services:
- traefik.http.routers.${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe_https.entrypoints=https
- traefik.http.routers.${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe_https.rule=Host(`${DOMAIN}`) && PathPrefix(`/cantaloupe`)
- traefik.http.routers.${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe_https.tls=true
- traefik.http.routers.${COMPOSE_PROJECT_NAME-isle-dc}-cantaloupe_https.middlewares=cantaloupe
- traefik.http.middlewares.cantaloupe-custom-request-headers.headers.customrequestheaders.X-Forwarded-Path=/cantaloupe
- traefik.http.middlewares.cantaloupe-strip-prefix.stripprefix.prefixes=/cantaloupe
- traefik.http.middlewares.cantaloupe.chain.middlewares=cantaloupe-strip-prefix,cantaloupe-custom-request-headers
networks:
default:
deploy:
Expand Down

0 comments on commit 1a8db05

Please sign in to comment.