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-16 16:26:45 +02:00
|
|
|
setup_master:
|
|
|
|
image: mailu/setup:master
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
this_version: "master"
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
|
|
|
- traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/master/
|
|
|
|
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}
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
this_version: ${RELEASE}
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
|
|
|
- traefik.root.frontend.redirect.regex=.*
|
|
|
|
- traefik.root.frontend.redirect.replacement=/${RELEASE}/
|
|
|
|
- traefik.root.frontend.rule=Host:${HOSTNAME};PathPrefix:/
|
|
|
|
- traefik.main.frontend.rule=Host:${HOSTNAME};PathPrefix:/${RELEASE}/
|
|
|
|
depends_on:
|
|
|
|
- redis
|