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