summaryrefslogtreecommitdiffstats
path: root/ms/neng/src/main/compose/docker-compose.yaml
blob: 93dbbf0d5fe82bf0dc1dbc06ea20be5ac9f3e04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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}"