From 597017334cced4d306a3654eb6e86e01888d0c40 Mon Sep 17 00:00:00 2001 From: Steffen Vogel <post@steffenvogel.de> Date: Wed, 30 Oct 2019 00:57:28 +0100 Subject: [PATCH] add VILLAS documentation to demo setup --- docker-compose.yml | 8 ++++++++ etc/nginx/default.conf | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b3db1fa..9143b6e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,6 +43,7 @@ services: - backend - frontend - relay + - doc restart: always # The MongoDB database for the VILLASweb backend @@ -112,3 +113,10 @@ services: depends_on: - broker restart: always + + # VILLAS Documentation + doc: + build: + context: doc + image: registry.git.rwth-aachen.de/acs/public/villas/demo/documentation + restart: always diff --git a/etc/nginx/default.conf b/etc/nginx/default.conf index b3aa9d2..8f749be 100644 --- a/etc/nginx/default.conf +++ b/etc/nginx/default.conf @@ -59,6 +59,10 @@ server { proxy_pass http://backend:4000/public; } + location /doc { + proxy_pass http://doc/doc; + } + location /ws/api { proxy_pass http://node/api; } -- GitLab