Commit 89315263 authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

remove helper message-web

parent d906762b
---
version: '2.2'
services:
messages-web:
build:
context: ${MESSAGES_WEB_DIR:-../messages-web}
dockerfile: Dockerfile
labels:
- 'traefik.enable=true'
- 'traefik.port=8080'
- "traefik.frontend.redirect.regex=^(.*)/messages$$"
- "traefik.frontend.redirect.replacement=$$1/messages/"
- "traefik.frontend.rule=PathPrefix:/messages;ReplacePathRegex: ^/messages/(.*) /$$1"
links:
- consul:consul
env_file:
- ../../zephir.config
environment:
SERVICE_NAME: messages-web
CONSUL_HOST: consul:8500
volumes:
- ${MESSAGES_WEB_DIR:-../messages-web}/src/javascript:/srv/html/javascript
- ${MESSAGES_WEB_DIR:-../messages-web}/src/bower_components:/srv/html/bower_components
- ${MESSAGES_WEB_DIR:-../messages-web}/src/python:/usr/lib/python3/dist-packages/messages_web
- ${MESSAGES_WEB_DIR:-../messages-web}/scripts:/srv/bin # Source uniquement
- ${PYTHON_ZEPHIR_DIR:-../python-zephir}/zephir:/usr/lib/python3/dist-packages/zephir # Source uniquement
- ${MESSAGES_API_DIR:-../messages-api}/messages:/srv/messages:ro # Sources uniquement
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment