Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 1 | version: '2' |
| 2 | networks: |
| 3 | default: |
| 4 | driver: bridge |
| 5 | driver_opts: |
| 6 | com.docker.network.driver.mtu: ${MTU} |
Murali | b4b293f | 2017-09-20 05:14:21 +0000 | [diff] [blame] | 7 | |
Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 8 | services: |
| 9 | postgres: |
| 10 | container_name: "postgres" |
| 11 | restart: "always" |
Chris Donley | feb2fdd | 2018-04-12 12:43:23 -0700 | [diff] [blame] | 12 | image: "${NEXUS_REPO}/onap/vnfsdk/refrepo/postgres:${POSTGRES_TAG}" |
Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 13 | mem_limit: "1g" |
| 14 | memswap_limit: "1g" |
| 15 | ports: |
Murali-P | b944ed6 | 2018-04-20 17:06:05 +0530 | [diff] [blame] | 16 | - "5432:5432" |
| 17 | volumes: |
| 18 | - /data/refrepo/postgres:/var/lib/postgresql/data |
Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 19 | |
| 20 | refrepo: |
| 21 | container_name: "refrepo" |
| 22 | restart: "always" |
Chris Donley | feb2fdd | 2018-04-12 12:43:23 -0700 | [diff] [blame] | 23 | image: "${NEXUS_REPO}/onap/vnfsdk/refrepo:${REFREPO_TAG}" |
Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 24 | ports: |
Avinash S | bd8e8a6 | 2018-03-26 10:13:46 +0000 | [diff] [blame] | 25 | - "8702-8703:8702-8703" |
Murali-P | 1ddaa3f | 2018-04-05 12:00:36 +0530 | [diff] [blame] | 26 | - "8000:8000" |
Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 27 | environment: |
| 28 | POSTGRES_IP: postgres |
Murali-P | 1ddaa3f | 2018-04-05 12:00:36 +0530 | [diff] [blame] | 29 | JPDA_ADDRESS: 8000 |
| 30 | JPDA_TRANSPORT: dt_socket |
Murali-P | 460bf6f | 2018-03-27 16:29:04 +0530 | [diff] [blame] | 31 | volumes: |
Murali-P | b944ed6 | 2018-04-20 17:06:05 +0530 | [diff] [blame] | 32 | - /data/refrepo/csars:/service/webapps/ROOT/WEB-INF/tomcat/webapps/ROOT/CSAR |
Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 33 | links: |
| 34 | - postgres |