Commit 299df0b2 authored by Philippe Caseiro's avatar Philippe Caseiro

Adding documentation yaml file

Build a docker container hosting de the documentation
and provide a "/doc/" behind the ZEPHIR_DOMAIN to access it
parent e5fbb533
version: '2.2'
services:
documentation:
build:
context: ${DOCUMENTATION_DIR:-../documentation}
dockerfile: Dockerfile
labels:
- 'traefik.enable=true'
- 'traefik.port=3333'
- 'traefik.frontend.rule=Host:${ZEPHIR_DOMAIN};PathPrefixStrip:/doc/'
links:
- consul:consul
env_file:
- ../../zephir.config
environment:
SERVICE_NAME: documentation
CONSUL_HOST: consul:8500
volumes:
- ${DOCUMENTATION_DIR:-../documentation}/DocumentationTechnique:/DocumnentationTechnique
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