blob: 7ca0b51c986bac820c5394566b29c69844ef65ea [file] [log] [blame]
Murali93e9b702017-09-21 07:13:12 +00001version: '2'
2networks:
3 default:
4 driver: bridge
5 driver_opts:
6 com.docker.network.driver.mtu: ${MTU}
Muralib4b293f2017-09-20 05:14:21 +00007
Murali93e9b702017-09-21 07:13:12 +00008services:
9 postgres:
10 container_name: "postgres"
11 restart: "always"
Chris Donleyfeb2fdd2018-04-12 12:43:23 -070012 image: "${NEXUS_REPO}/onap/vnfsdk/refrepo/postgres:${POSTGRES_TAG}"
Murali93e9b702017-09-21 07:13:12 +000013 mem_limit: "1g"
14 memswap_limit: "1g"
15 ports:
Murali-Pb944ed62018-04-20 17:06:05 +053016 - "5432:5432"
17 volumes:
18 - /data/refrepo/postgres:/var/lib/postgresql/data
Murali93e9b702017-09-21 07:13:12 +000019
20 refrepo:
21 container_name: "refrepo"
22 restart: "always"
Chris Donleyfeb2fdd2018-04-12 12:43:23 -070023 image: "${NEXUS_REPO}/onap/vnfsdk/refrepo:${REFREPO_TAG}"
Murali93e9b702017-09-21 07:13:12 +000024 ports:
Avinash Sbd8e8a62018-03-26 10:13:46 +000025 - "8702-8703:8702-8703"
Murali-P1ddaa3f2018-04-05 12:00:36 +053026 - "8000:8000"
Murali93e9b702017-09-21 07:13:12 +000027 environment:
28 POSTGRES_IP: postgres
Murali-P1ddaa3f2018-04-05 12:00:36 +053029 JPDA_ADDRESS: 8000
30 JPDA_TRANSPORT: dt_socket
Murali-P460bf6f2018-03-27 16:29:04 +053031 volumes:
Murali-Pb944ed62018-04-20 17:06:05 +053032 - /data/refrepo/csars:/service/webapps/ROOT/WEB-INF/tomcat/webapps/ROOT/CSAR
Murali93e9b702017-09-21 07:13:12 +000033 links:
34 - postgres