aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2021-04-13 12:27:29 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2021-04-13 12:27:31 +0200
commit73f7ee0e30ba6779404efb4ad21a8b084c6d7d30 (patch)
tree813d0ed6663789b5651e442cf51e5b8d661f9b4b
parentb57c3fbd4dfe4cbaf214f5eda4f75dd13ce93b4b (diff)
Update docker-compose.
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I9e9cd5d1006c06c21af7c8c9998d2e1e3f22badd Issue-ID: INT-1869
-rw-r--r--docker-compose.yml14
1 files changed, 12 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 78c3b43..002a316 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,10 +1,12 @@
-version: '3'
+version: '3.5'
services:
mongo:
image: mongo
restart: always
+ networks:
+ - nf-simulator-network
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: zXcVbN123!
@@ -19,6 +21,8 @@ services:
restart: always
ports:
- "8081:8081"
+ networks:
+ - nf-simulator-network
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: zXcVbN123!
@@ -27,8 +31,10 @@ services:
image: onap/org.onap.integration.nfsimulator.vesclient
ports:
- "5000:5000"
+ networks:
+ - nf-simulator-network
environment:
- USE_CERTIFICATE_FOR_AUTHORIZATION: "true"
+ USE_CERTIFICATE_FOR_AUTHORIZATION: "false"
volumes:
- ./logs:/var/log
- ./templates:/app/templates
@@ -38,3 +44,7 @@ services:
depends_on:
- mongo
- mongo-express
+
+networks:
+ nf-simulator-network:
+ name: nf-simulator-network