2018-08-26 20:08:20 +02:00
|
|
|
# This file is used to run the mailu/setup utility
|
|
|
|
|
2018-12-01 02:37:34 +02:00
|
|
|
version: '3.6'
|
2018-08-26 20:08:20 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
2018-12-19 15:02:00 +02:00
|
|
|
networks:
|
|
|
|
- default
|
2018-08-26 20:08:20 +02:00
|
|
|
|
2018-12-16 16:26:45 +02:00
|
|
|
setup_master:
|
|
|
|
image: mailu/setup:master
|
2018-12-16 23:05:03 +02:00
|
|
|
networks:
|
|
|
|
- web
|
2018-12-19 15:02:00 +02:00
|
|
|
- default
|
2018-12-16 16:26:45 +02:00
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
this_version: "master"
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
2018-12-19 15:02:00 +02:00
|
|
|
- traefik.docker.network=web
|
2018-12-16 23:11:43 +02:00
|
|
|
- traefik.main.frontend.rule=Host:${ADDRESS};PathPrefix:/master/
|
2018-12-16 16:26:45 +02:00
|
|
|
depends_on:
|
|
|
|
- redis
|
2018-08-26 20:08:20 +02:00
|
|
|
|
2018-12-16 16:26:45 +02:00
|
|
|
setup_release:
|
|
|
|
image: mailu/setup:${RELEASE}
|
2018-12-16 23:05:03 +02:00
|
|
|
networks:
|
|
|
|
- web
|
2018-12-19 15:02:00 +02:00
|
|
|
- default
|
2018-12-16 16:26:45 +02:00
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
this_version: ${RELEASE}
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
2018-12-19 15:02:00 +02:00
|
|
|
- traefik.docker.network=web
|
2018-12-16 16:26:45 +02:00
|
|
|
- traefik.root.frontend.redirect.regex=.*
|
|
|
|
- traefik.root.frontend.redirect.replacement=/${RELEASE}/
|
2018-12-16 23:11:43 +02:00
|
|
|
- traefik.root.frontend.rule=Host:${ADDRESS};PathPrefix:/
|
|
|
|
- traefik.main.frontend.rule=Host:${ADDRESS};PathPrefix:/${RELEASE}/
|
2018-12-16 16:26:45 +02:00
|
|
|
depends_on:
|
|
|
|
- redis
|
2018-12-16 23:05:03 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|
2018-12-19 15:02:00 +02:00
|
|
|
default:
|
|
|
|
external: false
|