2018-10-16 22:52:21 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
docs_master:
|
|
|
|
image: mailu/docs:master
|
2018-12-17 00:12:21 +02:00
|
|
|
networks:
|
|
|
|
- web
|
2018-10-16 22:52:21 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
2018-12-17 00:12:21 +02:00
|
|
|
- traefik.main.frontend.rule=Host:${ADDRESS};PathPrefix:/master/
|
2018-10-16 22:52:21 +02:00
|
|
|
|
|
|
|
docs_15:
|
|
|
|
image: mailu/docs:1.5
|
2018-12-17 00:12:21 +02:00
|
|
|
networks:
|
|
|
|
- web
|
2018-10-16 22:52:21 +02:00
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
|
|
|
- traefik.root.frontend.redirect.regex=.*
|
|
|
|
- traefik.root.frontend.redirect.replacement=/1.5/
|
2018-12-17 00:12:21 +02:00
|
|
|
- traefik.root.frontend.rule=Host:${ADDRESS};PathPrefix:/
|
|
|
|
- traefik.main.frontend.rule=Host:${ADDRESS};PathPrefix:/1.5/
|
2018-10-16 22:52:21 +02:00
|
|
|
|
2018-12-17 00:12:21 +02:00
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|