|
|
@ -4,18 +4,25 @@ version: '3'
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
docs_master:
|
|
|
|
docs_master:
|
|
|
|
image: mailu/docs:master
|
|
|
|
image: mailu/docs:master
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
|
|
|
- web
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
|
|
|
- traefik.port=80
|
|
|
|
- traefik.main.frontend.rule=Host:${hostname};PathPrefix:/master/
|
|
|
|
- traefik.main.frontend.rule=Host:${ADDRESS};PathPrefix:/master/
|
|
|
|
|
|
|
|
|
|
|
|
docs_15:
|
|
|
|
docs_15:
|
|
|
|
image: mailu/docs:1.5
|
|
|
|
image: mailu/docs:1.5
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
|
|
|
- web
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
|
|
|
- traefik.port=80
|
|
|
|
- traefik.root.frontend.redirect.regex=.*
|
|
|
|
- traefik.root.frontend.redirect.regex=.*
|
|
|
|
- traefik.root.frontend.redirect.replacement=/1.5/
|
|
|
|
- traefik.root.frontend.redirect.replacement=/1.5/
|
|
|
|
- traefik.root.frontend.rule=Host:${hostname};PathPrefix:/
|
|
|
|
- traefik.root.frontend.rule=Host:${ADDRESS};PathPrefix:/
|
|
|
|
- traefik.main.frontend.rule=Host:${hostname};PathPrefix:/1.5/
|
|
|
|
- traefik.main.frontend.rule=Host:${ADDRESS};PathPrefix:/1.5/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
|
|
|
web:
|
|
|
|
|
|
|
|
external: true
|
|
|
|