diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 14 |
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 |