Update some direct dependencies
[clamp.git] / extra / docker / clamp / docker-compose.yml
index 0821fff..3a06212 100644 (file)
@@ -1,34 +1,38 @@
-version: '2'
+version: '3.1'
 
 services:
+  clamp-frontend:
+    image: onap/clamp-frontend
+    depends_on:
+      - clamp-backend
+    ports:
+      - "2443:2443"
   db:
-    image: mariadb:10.1.11
+    image: mariadb:10.5.4
     volumes:
       - "/var/lib/mysql"
       - "../mariadb/conf1:/etc/mysql/conf.d:ro"
-      - "../../sql/:/docker-entrypoint-initdb.d:ro"
+      - "../../sql/:/docker-entrypoint-initdb.d:rw"
     environment:
       - MYSQL_ROOT_PASSWORD=strong_pitchou
     ports:
       - "3306:3306"
 
-  clamp:
-    image: onap/clamp
-    volumes:
-      - "./config/:/opt/clamp/config:rw"
+  clamp-backend:
+    image: onap/clamp-backend
     depends_on:
       - db
+      - third-party-proxy
     env_file:
       - clamp.env
     ports:
-      - "8080:8080"
-      - "8443:8443"
-
-  third_party_proxy:
+      - "10443:8443"
+      
+  third-party-proxy:
     image: python:2-slim
     volumes:
       - "../../../src/test/resources/http-cache/example/:/thirdparty:rw"
       - "../../../src/test/resources/http-cache/:/script/:ro"
     ports:
       - "8085:8085"
-    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"
+    command: /bin/sh -c "pip install --no-cache-dir requests &&  pip install --no-cache-dir simplejson && python -u /script/third_party_proxy.py -v true --port 8085 --root /thirdparty --proxyaddress third-party-proxy:8085"