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.
23 container_name: vnf_catalogue_database
26 - MYSQL_PASSWORD=vnf_password
27 - MYSQL_DATABASE=vnf_catalogue
28 - MYSQL_ROOT_PASSWORD=root
30 - ./persistent_data/database/mysql:/var/lib/mysql
32 image: phpmyadmin/phpmyadmin
39 MYSQL_USERNAME: vnf_user
40 MYSQL_PASSWORD: vnf_password
41 MYSQL_ROOT_PASSWORD: root
42 #- MYSQL_USERNAME=root
46 - MINIO_ACCESS_KEY=vnf_minio
47 - MINIO_SECRET_KEY=vnf_minio
51 - ./persistent_data/minio/images:/export
52 command: server /export
54 # The vnf_catalogue webapp service.
56 container_name: vnf_catalogue_webapp
60 # Port on which the node.js server would be exposed <host:container>
61 # To change host port to say 80 use 80:3000
66 - ./persistent_data/nodejs_server/public_images/:/usr/src/app/public/uploads
67 vnf_catalogue_migrate:
68 # We define another service for database migration. This service will
69 # migrate the database schema.(Dockerfile resides in migration
73 container_name: vnf_catalogue_migrate
76 vnf_catalogue_cronjob:
78 container_name: vnf_catalogue_cronjob