1 ##################################################################
2 # Docker-Compose for setting up and running vnf_catalogue webapp
3 ##################################################################
4 # Purpose: To setup and run vnf_catalogue webapp
5 # Usage: docker-compose up
7 # The webapp would be accessible at ip_address:3000
9 # Maintained by Kumar Rishabh :: penguinRaider
11 # All rights reserved. This program and the accompanying materials
12 # are made available under the terms of the Apache License, Version 2.0
13 # which accompanies this distribution, and is available at
14 # http://www.apache.org/licenses/LICENSE-2.0
20 # mysql service built on top of vanilla mysql container.
21 # Defines mysql credentials.
24 container_name: vnf_catalogue_database
27 - MYSQL_PASSWORD=vnf_password
28 - MYSQL_DATABASE=vnf_catalogue
29 - MYSQL_ROOT_PASSWORD=root
31 # The vnf_catalogue webapp service.
33 container_name: vnf_catalogue_webapp
36 # Port on which the node.js server would be exposed <host:container>
37 # To change host port to say 80 use 80:3000
41 vnf_catalogue_migrate:
42 # We define another service for database migration. This service will
43 # migrate the database schema.(Dockerfile resides in migration
47 container_name: vnf_catalogue_migrate