blob: 6f62e6ef254be349f2c477959ee052590144cab8 [file] [log] [blame]
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -04001version: '2'
2services:
Venkata Harish K Kajurf1ffdbc2017-12-12 22:58:54 -05003 aai-resources.api.simpledemo.onap.org:
4 image: ${DOCKER_REGISTRY}/onap/aai-resources
5 hostname: aai-resources.api.simpledemo.onap.org
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -04006 environment:
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -04007 - LOCAL_USER_ID=${USER_ID}
Venkata Harish K Kajur3918ac52018-03-14 10:05:27 -04008 - LOCAL_GROUP_ID=${GROUP_ID}
Kajur, Harish (vk250x)fe335852018-03-29 07:11:11 -04009 - SKIP_CREATE_DB_SCHEMA_AT_STARTUP=true
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040010 ports:
11 - 8447:8447
Venkata Harish K Kajur3918ac52018-03-14 10:05:27 -040012 volumes:
Kajur, Harish (vk250x)fe335852018-03-29 07:11:11 -040013 - ${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
Venkata Harish K Kajur3918ac52018-03-14 10:05:27 -040015 - ${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
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040021 logging:
22 driver: "json-file"
23 options:
24 max-size: "30m"
25 max-file: "5"
Venkata Harish K Kajurf1ffdbc2017-12-12 22:58:54 -050026 aai-traversal.api.simpledemo.onap.org:
27 image: ${DOCKER_REGISTRY}/onap/aai-traversal
28 hostname: aai-traversal.api.simpledemo.onap.org
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040029 environment:
Venkata Harish K Kajur3918ac52018-03-14 10:05:27 -040030 - LOCAL_USER_ID=${USER_ID}
31 - LOCAL_GROUP_ID=${GROUP_ID}
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040032 - DISABLE_UPDATE_QUERY=true
Venkata Harish K Kajur3918ac52018-03-14 10:05:27 -040033 volumes:
Kajur, Harish (vk250x)fe335852018-03-29 07:11:11 -040034 - ${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
Venkata Harish K Kajur3918ac52018-03-14 10:05:27 -040036 - ${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
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040042 ports:
43 - 8446:8446
44 logging:
45 driver: "json-file"
46 options:
47 max-size: "30m"
48 max-file: "5"
Venkata Harish K Kajurf1ffdbc2017-12-12 22:58:54 -050049 aai.api.simpledemo.onap.org:
Venkata Harish K Kajur70005762017-11-06 17:38:45 +000050 image: ${AAI_HAPROXY_IMAGE}:${HAPROXY_VERSION}
Venkata Harish K Kajurf1ffdbc2017-12-12 22:58:54 -050051 hostname: aai.api.simpledemo.onap.org
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040052 ports:
53 - 8443:8443
54 links:
Venkata Harish K Kajurf1ffdbc2017-12-12 22:58:54 -050055 - aai-resources.api.simpledemo.onap.org
56 - aai-traversal.api.simpledemo.onap.org
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040057 volumes:
58 - /dev/log:/dev/log
59 logging:
60 driver: "json-file"
61 options:
62 max-size: "30m"
63 max-file: "5"
Venkata Harish K Kajurf1ffdbc2017-12-12 22:58:54 -050064 aai.hbase.simpledemo.onap.org:
Kajur, Harish (vk250x)fe335852018-03-29 07:11:11 -040065 image: cassandra:2.1
Venkata Harish K Kajurf1ffdbc2017-12-12 22:58:54 -050066 hostname: aai.hbase.simpledemo.onap.org
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040067 ports:
Kajur, Harish (vk250x)fe335852018-03-29 07:11:11 -040068 - 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
Venkata Harish K Kajurd6f0c1e2017-09-27 10:42:28 -040077 logging:
78 driver: "json-file"
79 options:
80 max-size: "30m"
81 max-file: "5"
82networks:
83 default:
84 driver: bridge
85 driver_opts:
86 com.docker.network.driver.mtu: ${MTU}