Skip to content

Commit

Permalink
Merge pull request #463 from MaRDI4NFDI/oai-backend
Browse files Browse the repository at this point in the history
Add proxy to access oai-pmh backend
  • Loading branch information
physikerwelt authored Jan 11, 2024
2 parents f6e68b7 + 163dc5c commit 60492b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ services:
volumes:
- ./oaipmh/fiz-oai-backend.properties:/usr/local/tomcat/conf/fiz-oai-backend.properties:ro
- backend-logs:/usr/local/tomcat/logs
labels:
- traefik.http.routers.service-oai-backend.rule=Host(`oai-input.${MARDI_HOST}`)
- traefik.http.routers.service-oai-backend.entrypoints=websecure
- traefik.http.routers.service-oai-backend.tls.certResolver=le
- traefik.http.middlewares.oai-auth.basicauth.users=swmath:$$2y$$05$$jzJvBO4T50qphJ7Bne1lIeouZCbwtvGGPDZeNLMYCcOSObUp5m0T2
- traefik.http.routers.service-oai-backend.middlewares=oai-auth

oai-provider:
hostname: oai-provider
Expand Down

0 comments on commit 60492b9

Please sign in to comment.