Added docker volume to RO 48/7048/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 10 Dec 2018 14:49:27 +0000 (15:49 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 11 Dec 2018 12:50:13 +0000 (13:50 +0100)
Change-Id: I2896cf8218509e439732e5727bf9e51a1470ac09
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
docker/RO/Dockerfile
installers/docker/docker-compose.yaml

index b73b904..86b532c 100644 (file)
@@ -24,7 +24,7 @@ RUN mkdir -p /bin/RO
 
 COPY scripts/ /bin/RO
 
-VOLUME /opt/openmano/logs
+VOLUME /var/log/osm
 
 EXPOSE 9090
 
index 5342b30..b37e381 100644 (file)
@@ -1,5 +1,6 @@
 version: '3'
 volumes:
+  ro:
   ro_db:
   mongo_db:
   mon_db:
@@ -130,6 +131,8 @@ services:
       - ./ro.env
     #depends_on:
     #  - ro-db
+    volumes:
+      - ro:/var/log/osm
     ports:
       - "${OSM_RO_PORTS:-9090:9090}"
   mon: