[CORD-1136] Setting swagger url in chameleon

Change-Id: Ibd1bb091c5f05516af64e98adb59688d0f9136ed
(cherry picked from commit 7023aa21cc2da543b7d4ee331f07611d0609babe)
diff --git a/roles/apache-proxy/files/cord-http.conf b/roles/apache-proxy/files/cord-http.conf
index b205dfc..db7bdc6 100644
--- a/roles/apache-proxy/files/cord-http.conf
+++ b/roles/apache-proxy/files/cord-http.conf
@@ -42,6 +42,10 @@
         RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
         RewriteRule .* ws://xos-ws:3000%{REQUEST_URI} [P]
     </Location>
+
+    # Chameleon swagger
+    ProxyPass /apidocs/ http://xos-chameleon:9101/apidocs/
+    ProxyPass /v1/swagger.json http://xos-chameleon:9101/apidocs/v1/swagger.json
     
     # Map the various XOS roots to the XOS instance
     ProxyPass /xos-deprecated http://xos:9000
diff --git a/roles/cord-profile/templates/docker-compose.yml.j2 b/roles/cord-profile/templates/docker-compose.yml.j2
index 31e6e70..21cddaf 100644
--- a/roles/cord-profile/templates/docker-compose.yml.j2
+++ b/roles/cord-profile/templates/docker-compose.yml.j2
@@ -67,7 +67,7 @@
 {% for network in xos_docker_networks %}
      - {{ network }}
 {% endfor %}
-    command: python chameleon/chameleon/main.py -R 9101 -G xos-core:50055
+    command: python chameleon/chameleon/main.py -R 9101 -G xos-core:50055 --swagger-url /apidocs
     ports:
       - "9101:9101"
     links: