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" |
| 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: |
Avinash S | bd8e8a6 | 2018-03-26 10:13:46 +0000 | [diff] [blame] | 23 | - "8702-8703:8702-8703" |
Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 24 | environment: |
| 25 | POSTGRES_IP: postgres |
Murali-P | 460bf6f | 2018-03-27 16:29:04 +0530 | [diff] [blame^] | 26 | volumes: |
| 27 | - /data/csars:/service/webapps/ROOT/WEB-INF/tomcat/webapps/ROOT/CSAR |
Murali | 93e9b70 | 2017-09-21 07:13:12 +0000 | [diff] [blame] | 28 | links: |
| 29 | - postgres |