aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/src/main/compose
diff options
context:
space:
mode:
authorBT2983 <BT2983@att.com>2018-08-27 19:14:42 -0600
committerBT2983 <BT2983@att.com>2018-08-27 19:14:42 -0600
commit7202e8f8480369c1e97a4152a6f5305efb6cfad7 (patch)
tree37c7d1bd530ddc417d509ae1e5125e6a9c02ddf1 /ms/neng/src/main/compose
parent06a872b11ad18698873452ed996fb60088e81577 (diff)
Naming micro-service updates.
Support for docker compose and some fixes. Change-Id: Ida28efd9c785aaf9d12b31e053ef5b1014289e60 Issue-ID: CCSDK-342 Signed-off-by: BT2983 <BT2983@att.com>
Diffstat (limited to 'ms/neng/src/main/compose')
-rw-r--r--ms/neng/src/main/compose/docker-compose.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/ms/neng/src/main/compose/docker-compose.yaml b/ms/neng/src/main/compose/docker-compose.yaml
new file mode 100644
index 00000000..93dbbf0d
--- /dev/null
+++ b/ms/neng/src/main/compose/docker-compose.yaml
@@ -0,0 +1,29 @@
+
+nengdb:
+ image: mariadb
+ container_name: nengdb
+ ports:
+ - "${NENG_DB_PORT}:3306"
+ volumes:
+ - /var/lib/nengdb:/var/lib/mysql
+ restart: always
+ environment:
+ MYSQL_ROOT_PASSWORD: "${NENG_DB_ROOT}"
+ MYSQL_DATABASE: neng
+ MYSQL_USER: "${NENG_DB_USER}"
+ MYSQL_PASSWORD: "${NENG_DB_PASS}"
+
+neng:
+ #depends_on:
+ #- nengdb
+ image: onap/ccsdk-apps-ms-neng
+ container_name: neng
+ ports:
+ - "${NENG_SERV_PORT}:8080"
+ restart: always
+ environment:
+ SPRING_PROFILE: "${SPRING_PROFILE}"
+ NENG_DB_URL: "${NENG_DB_URL}"
+ NENG_DB_USER: "${NENG_DB_USER}"
+ NENG_DB_PASS: "${NENG_DB_PASS}"
+