From: garciadeblas Date: Mon, 10 Dec 2018 14:49:27 +0000 (+0100) Subject: Added docker volume to RO X-Git-Tag: v5.0.3^2~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=e3697a169a703261d89c136aeec109029d3abf45;p=osm%2Fdevops.git Added docker volume to RO Change-Id: I2896cf8218509e439732e5727bf9e51a1470ac09 Signed-off-by: garciadeblas --- diff --git a/docker/RO/Dockerfile b/docker/RO/Dockerfile index b73b9048..86b532ca 100644 --- a/docker/RO/Dockerfile +++ b/docker/RO/Dockerfile @@ -24,7 +24,7 @@ RUN mkdir -p /bin/RO COPY scripts/ /bin/RO -VOLUME /opt/openmano/logs +VOLUME /var/log/osm EXPOSE 9090 diff --git a/installers/docker/docker-compose.yaml b/installers/docker/docker-compose.yaml index 5342b305..b37e3810 100644 --- a/installers/docker/docker-compose.yaml +++ b/installers/docker/docker-compose.yaml @@ -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: