Skip to content

Commit

Permalink
Tested if adding an entrypont is the missing ingredient to make traef…
Browse files Browse the repository at this point in the history
…ik work
  • Loading branch information
CommanderStorm authored Mar 18, 2024
1 parent 77f9871 commit 0de7e8a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
build: ./webclient
labels:
- "traefik.enable=true"
- "traefik.http.routers.navigatum-webclient.entrypoints=webs"
- "traefik.http.routers.navigatum-webclient.tls.certresolver=leacme"
- "traefik.http.routers.navigatum-webclient.rule=Host(`nav.tum.de`)"
expose:
Expand Down Expand Up @@ -43,6 +44,7 @@ services:
restart: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.routers.navigatum-tileserver-srv.entrypoints=webs"
- "traefik.http.routers.navigatum-tileserver-srv.tls.certresolver=leacme"
- "traefik.http.routers.navigatum-tileserver-srv.rule=Host(`nav.tum.de`) && PathPrefix(`/maps/vol/`)"
volumes:
Expand All @@ -62,6 +64,7 @@ services:
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.navigatum-tileserver.entrypoints=webs"
- "traefik.http.routers.navigatum-tileserver.tls.certresolver=leacme"
- "traefik.http.routers.navigatum-tileserver.rule=Host(`nav.tum.de`) && PathPrefix(`/maps/`)"
- "traefik.http.routers.navigatum-tileserver.middlewares=navigatum-stripprefix@docker"
Expand All @@ -85,6 +88,7 @@ services:
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.navigatum-data.entrypoints=webs"
- "traefik.http.routers.navigatum-data.tls.certresolver=leacme"
- "traefik.http.routers.navigatum-data.rule=Host(`nav.tum.de`) && PathPrefix(`/cdn/`)"
build: ./data
Expand All @@ -96,7 +100,8 @@ services:
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.navigatum-main-api-api.tls.certresolver=leacme"
- "traefik.http.routers.navigatum-main-api.entrypoints=webs"
- "traefik.http.routers.navigatum-main-api.tls.certresolver=leacme"
- "traefik.http.routers.navigatum-main-api.rule=Host(`nav.tum.de`) && PathPrefix(`/api/`)"
build: ./server
command: /bin/navigatum-main-api
Expand Down Expand Up @@ -137,6 +142,7 @@ services:
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.navigatum-feedback-api.entrypoints=webs"
- "traefik.http.routers.navigatum-feedback-api.tls.certresolver=leacme"
- "traefik.http.routers.navigatum-feedback-api.rule=Host(`nav.tum.de`) && PathPrefix(`/api/feedback`)"
build: ./server
Expand Down Expand Up @@ -169,6 +175,7 @@ services:
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.navigatum-redirect.entrypoints=webs"
- "traefik.http.routers.navigatum-redirect.tls.certresolver=leacme"
- "traefik.http.routers.navigatum-redirect.rule=Host(`nav.tum.sexy`) || Host(`www.nav.tum.de`)"
- "traefik.http.routers.navigatum-redirect.middlewares=navigatum-redirectregex@docker"
Expand Down

0 comments on commit 0de7e8a

Please sign in to comment.