blob: c692d6a14f820f5afb0a5656e02b1f0817dba57d [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"
12 image: "${NEXUS_REPO}/onap/refrepo/postgres:${POSTGRES_TAG}"
13 mem_limit: "1g"
14 memswap_limit: "1g"
15 ports:
16 - "5432:5432"
17
18 refrepo:
19 container_name: "refrepo"
20 restart: "always"
21 image: "${NEXUS_REPO}/onap/refrepo:${REFREPO_TAG}"
22 ports:
23 - "8702:8702"
24 environment:
25 POSTGRES_IP: postgres
26 links:
27 - postgres