1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/setup/docker-compose.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

# This file is used to run the mailu/setup utility
version: '3.6'
services:
redis:
image: redis:alpine
2018-12-19 15:02:00 +02:00
networks:
- default
setup_master:
image: mailu/setup:master
networks:
- web
2018-12-19 15:02:00 +02:00
- default
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/
depends_on:
- redis
setup_release:
image: mailu/setup:${RELEASE}
networks:
- web
2018-12-19 15:02:00 +02:00
- default
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
- 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}/
depends_on:
- redis
networks:
web:
external: true
2018-12-19 15:02:00 +02:00
default:
external: false