Fix the docker compose
[clamp.git] / extra / docker / clamp / docker-compose.yml
index c7e5fea..f41473e 100644 (file)
@@ -2,7 +2,7 @@ version: '2'
 
 services:
   db:
-    image: mariadb:10.1.11
+    image: mariadb:10.3.12
     volumes:
       - "/var/lib/mysql"
       - "../mariadb/conf1:/etc/mysql/conf.d:ro"
@@ -13,7 +13,7 @@ services:
       - "3306:3306"
 
   clamp:
-    image: onap/clamp
+    image: onap/clamp-backend
     volumes:
       - "./config/:/opt/clamp/config:rw"
     depends_on:
@@ -22,14 +22,13 @@ services:
       - clamp.env
     ports:
       - "8080:8080"
+      - "8443:8443"
 
-  sdc_proxy:
+  third_party_proxy:
     image: python:2-slim
     volumes:
-      - "../../../src/test/resources/http-cache/sdc-example/:/sdc:ro"
+      - "../../../src/test/resources/http-cache/example/:/thirdparty:rw"
       - "../../../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"
+    command: /bin/sh -c "pip install requests &&  pip install simplejson && python -u /script/third_party_proxy.py -v true --port 8085 --root /thirdparty --proxyaddress third_party_proxy:8085"