...
POC version of MOD can be deployed using docker-compose with below docker-compose,yml yaml file on any Ubuntu VMs
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
version: '3.3' services: mongo_db: image: 'registry.hub.docker.com/library/mongo:4.0.8' container_name: mongo_db environment: - DCAE_HOSTNAME=${DCAE_HOSTNAME} volumes: - type: 'bind' source: '/home/ubuntu/mongo/mongo_db/data' target: '/data/db' ports: - 27017:27017 restart: always dcae_mod_ui: image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.ui:latest' container_name: mod_ui environment: - DCAE_HOSTNAME=${DCAE_HOSTNAME} ports: - 30997:4200 depends_on: - mod_catalog_service restart: always mod_catalog_service: image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.catalog-service:latest' container_name: mod_catalog_service ports: - 31001:8080 links: - mongo_db depends_on: - mongo_db restart: always mod_auth_service: image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.auth-service:latest' container_name: mod_auth_service ports: - 31003:8082 links: - mongo_db depends_on: - mongo_db restart: always |
...
docker-compose -f docker-compose.yml yaml up &
After deployment is successful, you can list using docker ps -a command and it will show the below deployments.
...