blob: 00e26fb05045c1ed38c8373aa67452645003d055 [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:
16 - "5432:5432"
17
18 refrepo:
19 container_name: "refrepo"
20 restart: "always"
Chris Donleyfeb2fdd2018-04-12 12:43:23 -070021 image: "${NEXUS_REPO}/onap/vnfsdk/refrepo:${REFREPO_TAG}"
Murali93e9b702017-09-21 07:13:12 +000022 ports:
Avinash Sbd8e8a62018-03-26 10:13:46 +000023 - "8702-8703:8702-8703"
Murali-P1ddaa3f2018-04-05 12:00:36 +053024 - "8000:8000"
Murali93e9b702017-09-21 07:13:12 +000025 environment:
26 POSTGRES_IP: postgres
Murali-P1ddaa3f2018-04-05 12:00:36 +053027 JPDA_ADDRESS: 8000
28 JPDA_TRANSPORT: dt_socket
Murali-P460bf6f2018-03-27 16:29:04 +053029 volumes:
30 - /data/csars:/service/webapps/ROOT/WEB-INF/tomcat/webapps/ROOT/CSAR
Murali93e9b702017-09-21 07:13:12 +000031 links:
32 - postgres