Commit ac93aff4 authored by Philippe Caseiro's avatar Philippe Caseiro
Browse files

Merge branch 'develop' of gitlab.mim.ovh:EOLE/Zephir/application into develop

parents c9ae4ab7 d9a9f9f1
......@@ -6,4 +6,6 @@ services:
labels:
- 'traefik.enable=true'
- 'traefik.port=8080'
- 'traefik.frontend.rule=Host:${ZEPHIR_DOMAIN};PathPrefixStrip:/adminer/'
- "traefik.frontend.redirect.regex=^(.*)/adminer$$"
- "traefik.frontend.redirect.replacement=$$1/adminer/"
- "traefik.frontend.rule=PathPrefix:/adminer;ReplacePathRegex: ^/adminer/(.*) /$$1"
......@@ -8,7 +8,9 @@ services:
labels:
- 'traefik.enable=true'
- 'traefik.port=3333'
- 'traefik.frontend.rule=Host:${ZEPHIR_DOMAIN};PathPrefixStrip:/doc/'
- "traefik.frontend.redirect.regex=^(.*)/doc$$"
- "traefik.frontend.redirect.replacement=$$1/doc/"
- "traefik.frontend.rule=PathPrefix:/doc;ReplacePathRegex: ^/doc/(.*) /$$1"
links:
- consul:consul
env_file:
......
......@@ -8,7 +8,9 @@ services:
labels:
- 'traefik.enable=true'
- 'traefik.port=8080'
- 'traefik.frontend.rule=Host:${ZEPHIR_DOMAIN};PathPrefixStrip:/messages/'
- "traefik.frontend.redirect.regex=^(.*)/messages$$"
- "traefik.frontend.redirect.replacement=$$1/messages/"
- "traefik.frontend.rule=PathPrefix:/messages;ReplacePathRegex: ^/messages/(.*) /$$1"
links:
- consul:consul
env_file:
......
......@@ -6,7 +6,10 @@ services:
labels:
- 'traefik.enable=true'
- 'traefik.port=9000'
- 'traefik.frontend.rule=Host:${ZEPHIR_DOMAIN};PathPrefixStrip:/portainer/'
- "traefik.frontend.redirect.regex=^(.*)/portainer$$"
- "traefik.frontend.redirect.replacement=$$1/portainer/"
- "traefik.frontend.rule=PathPrefix:/portainer;ReplacePathRegex: ^/portainer/(.*) /$$1"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
......
......@@ -8,7 +8,9 @@ services:
labels:
- 'traefik.enable=true'
- 'traefik.port=8080'
- 'traefik.frontend.rule=Host:${ZEPHIR_DOMAIN};PathPrefixStrip:/api/'
- "traefik.frontend.redirect.regex=^(.*)/api$$"
- "traefik.frontend.redirect.replacement=$$1/api/"
- "traefik.frontend.rule=PathPrefix:/api;ReplacePathRegex: ^/api/(.*) /$$1"
links:
- consul:consul
env_file:
......
......@@ -8,7 +8,9 @@ services:
labels:
- 'traefik.enable=true'
- 'traefik.port=8080'
- 'traefik.frontend.rule=Host:${ZEPHIR_DOMAIN};PathPrefixStrip:/config/'
- "traefik.frontend.redirect.regex=^(.*)/config$$"
- "traefik.frontend.redirect.replacement=$$1/config/"
- "traefik.frontend.rule=PathPrefix:/config;ReplacePathRegex: ^/config/(.*) /$$1"
links:
- consul:consul
env_file:
......
......@@ -14,7 +14,9 @@ services:
labels:
- 'traefik.enable=true'
- 'traefik.port=8080'
- 'traefik.frontend.rule=Host:${ZEPHIR_DOMAIN};PathPrefixStrip:/traefik/'
- "traefik.frontend.redirect.regex=^(.*)/traefik$$"
- "traefik.frontend.redirect.replacement=$$1/traefik/"
- "traefik.frontend.rule=PathPrefix:/traefik;ReplacePathRegex: ^/traefik/(.*) /$$1"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${TRAEFIK_DIR:-../traefik}/traefik:/etc/traefik
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment