Add SDC proxy in docker-compose and templates ex
[clamp.git] / extra / docker / clamp / docker-compose.yml
index 28dc83c..c7e5fea 100644 (file)
@@ -22,3 +22,14 @@ services:
       - clamp.env
     ports:
       - "8080:8080"
+
+  sdc_proxy:
+    image: python:2-slim
+    volumes:
+      - "../../../src/test/resources/http-cache/sdc-example/:/sdc:ro"
+      - "../../../src/test/resources/http-cache/:/script/:ro"
+    depends_on:
+      - clamp
+    ports:
+      - "8085:8085"
+    command: /bin/sh -c "pip install requests && python /script/sdc_proxy.py --port 8085 --root /sdc"