Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | version: '2' |
| 2 | services: |
| 3 | aai-resources.api.simpledemo.onap.org: |
| 4 | image: ${DOCKER_REGISTRY}/onap/aai-resources |
| 5 | hostname: aai-resources.api.simpledemo.onap.org |
| 6 | environment: |
| 7 | - LOCAL_USER_ID=${USER_ID} |
| 8 | - LOCAL_GROUP_ID=${GROUP_ID} |
| 9 | - SKIP_CREATE_DB_SCHEMA_AT_STARTUP=true |
| 10 | ports: |
| 11 | - 8447:8447 |
| 12 | volumes: |
| 13 | - ${CURRENT_PWD}/aai-resources/appconfig/janusgraph-realtime.properties:/opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties |
| 14 | - ${CURRENT_PWD}/aai-resources/appconfig/janusgraph-cached.properties:/opt/app/aai-resources/resources/etc/appprops/janusgraph-cached.properties |
| 15 | - ${CURRENT_PWD}/aai-resources/appconfig/aaiconfig.properties:/opt/app/aai-resources/resources/etc/appprops/aaiconfig.properties |
| 16 | - ${CURRENT_PWD}/aai-resources/appconfig/application.properties:/opt/app/aai-resources/resources/application.properties |
| 17 | - ${CURRENT_PWD}/aai-resources/appconfig/logback.xml:/opt/app/aai-resources/resources/logback.xml |
| 18 | - ${CURRENT_PWD}/aai-resources/appconfig/localhost-access-logback.xml:/opt/app/aai-resources/resources/localhost-access-logback.xml |
| 19 | - ${CURRENT_PWD}/aai-resources/appconfig/aai_keystore:/opt/app/aai-resources/resources/etc/auth/aai_keystore |
| 20 | - ${CURRENT_PWD}/aai-resources/appconfig/realm.properties:/opt/app/aai-resources/resources/etc/auth/realm.properties |
| 21 | logging: |
| 22 | driver: "json-file" |
| 23 | options: |
| 24 | max-size: "30m" |
| 25 | max-file: "5" |
| 26 | aai-traversal.api.simpledemo.onap.org: |
| 27 | image: ${DOCKER_REGISTRY}/onap/aai-traversal |
| 28 | hostname: aai-traversal.api.simpledemo.onap.org |
| 29 | environment: |
| 30 | - LOCAL_USER_ID=${USER_ID} |
| 31 | - LOCAL_GROUP_ID=${GROUP_ID} |
| 32 | - DISABLE_UPDATE_QUERY=true |
| 33 | volumes: |
| 34 | - ${CURRENT_PWD}/aai-traversal/appconfig/janusgraph-realtime.properties:/opt/app/aai-traversal/resources/etc/appprops/janusgraph-realtime.properties |
| 35 | - ${CURRENT_PWD}/aai-traversal/appconfig/janusgraph-cached.properties:/opt/app/aai-traversal/resources/etc/appprops/janusgraph-cached.properties |
| 36 | - ${CURRENT_PWD}/aai-traversal/appconfig/aaiconfig.properties:/opt/app/aai-traversal/resources/etc/appprops/aaiconfig.properties |
| 37 | - ${CURRENT_PWD}/aai-traversal/appconfig/application.properties:/opt/app/aai-traversal/resources/application.properties |
| 38 | - ${CURRENT_PWD}/aai-traversal/appconfig/logback.xml:/opt/app/aai-traversal/resources/logback.xml |
| 39 | - ${CURRENT_PWD}/aai-traversal/appconfig/localhost-access-logback.xml:/opt/app/aai-traversal/resources/localhost-access-logback.xml |
| 40 | - ${CURRENT_PWD}/aai-traversal/appconfig/aai_keystore:/opt/app/aai-traversal/resources/etc/auth/aai_keystore |
| 41 | - ${CURRENT_PWD}/aai-traversal/appconfig/realm.properties:/opt/app/aai-traversal/resources/etc/auth/realm.properties |
| 42 | ports: |
| 43 | - 8446:8446 |
| 44 | logging: |
| 45 | driver: "json-file" |
| 46 | options: |
| 47 | max-size: "30m" |
| 48 | max-file: "5" |
| 49 | aai.api.simpledemo.onap.org: |
| 50 | image: ${AAI_HAPROXY_IMAGE}:${HAPROXY_VERSION} |
| 51 | hostname: aai.api.simpledemo.onap.org |
| 52 | ports: |
| 53 | - 8443:8443 |
| 54 | links: |
| 55 | - aai-resources.api.simpledemo.onap.org |
| 56 | - aai-traversal.api.simpledemo.onap.org |
| 57 | volumes: |
| 58 | - /dev/log:/dev/log |
| 59 | logging: |
| 60 | driver: "json-file" |
| 61 | options: |
| 62 | max-size: "30m" |
| 63 | max-file: "5" |
| 64 | aai.hbase.simpledemo.onap.org: |
| 65 | image: cassandra:2.1 |
| 66 | hostname: aai.hbase.simpledemo.onap.org |
| 67 | ports: |
| 68 | - 7000:7000 |
| 69 | - 7001:7001 |
| 70 | - 7199:7199 |
| 71 | - 9042:9042 |
| 72 | environment: |
| 73 | - CASSANDRA_SEEDS=aai.hbase.simpledemo.onap.org |
| 74 | - CASSANDRA_DC=Heat |
| 75 | - CASSANDRA_RACK=Rack1 |
| 76 | - CASSANDRA_AUTO_BOOTSTRAP=true |
| 77 | logging: |
| 78 | driver: "json-file" |
| 79 | options: |
| 80 | max-size: "30m" |
| 81 | max-file: "5" |
| 82 | networks: |
| 83 | default: |
| 84 | driver: bridge |
| 85 | driver_opts: |
| 86 | com.docker.network.driver.mtu: ${MTU} |