Skip to content
Snippets Groups Projects
Commit 7fbf2855 authored by Paul's avatar Paul :turtle:
Browse files

fix exporter service

parent 2a564183
No related branches found
No related tags found
1 merge request!1Use traefik
......@@ -10,7 +10,7 @@ services:
- 8081
labels:
- "traefik.enable=true"
- 'traefik.http.routers.vue.entrypoints=web'
- 'traefik.http.routers.web.entrypoints=web'
- "traefik.http.routers.web.rule=Host(`icebox.nobreakspace.org`)"
environment:
ICEBOX_API_HOST: backend
......@@ -42,7 +42,7 @@ services:
labels:
- "traefik.enable=true"
- 'traefik.http.routers.images.entrypoints=web'
- 'traefik.http.routers.images.rule=HostRegexp(`{images:images\..*}`)'
- 'traefik.http.routers.images.rule=Host(`vue.icebox.nobreakspace.org`)'
alias:
image: registry.chaotikum.net/icebox/iceboxalias
......@@ -91,6 +91,11 @@ services:
restart: always
environment:
ICEBOX_URL: http://backend:8081
labels:
- "traefik.enable=true"
- 'traefik.http.routers.api.entrypoints=web'
- 'traefik.http.routers.api.rule=Host(`api.icebox.nobreakspace.org`) && PathPrefix(`/metrics`)'
traefik:
image: traefik:v2.5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment