github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/docker-compose-installed.yaml (about)

     1  # Copyright 2018 Cargill Incorporated
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  
    15  version: '3.6'
    16  
    17  services:
    18  
    19    settings-tp:
    20      build:
    21        context: .
    22        dockerfile: families/settings/Dockerfile-installed
    23      image: sawtooth-settings-tp:${ISOLATION_ID}
    24      container_name: sawtooth-settings-tp-default
    25      depends_on:
    26        - validator
    27      entrypoint: settings-tp -vv -C tcp://validator:4004
    28  
    29    intkey-tp-python:
    30      build:
    31        context: .
    32        dockerfile: sdk/examples/intkey_python/Dockerfile-installed
    33      image: sawtooth-intkey-tp-python:${ISOLATION_ID}
    34      container_name: sawtooth-intkey-tp-python-default
    35      depends_on:
    36        - validator
    37      entrypoint: intkey-tp-python -vv -C tcp://validator:4004
    38  
    39    xo-tp-python:
    40      build:
    41        context: .
    42        dockerfile: sdk/examples/xo_python/Dockerfile-installed
    43      image: sawtooth-xo-tp-python:${ISOLATION_ID}
    44      container_name: sawtooth-xo-tp-python-default
    45      depends_on:
    46        - validator
    47      entrypoint: xo-tp-python -vv -C tcp://validator:4004
    48  
    49    validator:
    50      build:
    51        context: .
    52        dockerfile: validator/Dockerfile-installed
    53      image: sawtooth-validator:${ISOLATION_ID}
    54      container_name: sawtooth-validator-default
    55      expose:
    56        - 4004
    57      ports:
    58        - "4004:4004"
    59      # start the validator with an empty genesis batch
    60      entrypoint: "bash -c \"\
    61          sawadm keygen && \
    62          sawtooth keygen my_key && \
    63          sawset genesis -k /root/.sawtooth/keys/my_key.priv && \
    64          sawadm genesis config-genesis.batch && \
    65          sawtooth-validator -vv \
    66            --endpoint tcp://validator:8800 \
    67            --bind component:tcp://eth0:4004 \
    68            --bind network:tcp://eth0:8800 \
    69          \""
    70  
    71    rest-api:
    72      build:
    73        context: .
    74        dockerfile: rest_api/Dockerfile-installed
    75      image: sawtooth-rest-api:${ISOLATION_ID}
    76      container_name: sawtooth-rest-api-default
    77      ports:
    78        - "8008:8008"
    79      depends_on:
    80        - validator
    81      entrypoint: sawtooth-rest-api -C tcp://validator:4004 --bind rest-api:8008
    82  
    83    shell:
    84      build:
    85        context: .
    86        dockerfile: ci/sawtooth-shell-installed
    87      image: sawtooth-shell:${ISOLATION_ID}
    88      container_name: sawtooth-shell-default
    89      depends_on:
    90        - rest-api
    91      entrypoint: "bash -c \"\
    92          sawtooth keygen && \
    93          tail -f /dev/null \
    94          \""
    95  
    96    admin-tools:
    97      build:
    98        context: .
    99        dockerfile: adm/Dockerfile-installed
   100      image: sawtooth-admin-tools:${ISOLATION_ID}
   101      container_name: sawtooth-admin-tools
   102  
   103    sawtooth-cli:
   104      build:
   105        context: .
   106        dockerfile: cli/Dockerfile-installed
   107      image: sawtooth-cli:${ISOLATION_ID}
   108      container_name: sawtooth-cli-default
   109  
   110    poet-cli:
   111      build:
   112        context: .
   113        dockerfile: consensus/poet/cli/Dockerfile-installed
   114      image: sawtooth-poet-cli:${ISOLATION_ID}
   115      container_name: sawtooth-poet-cli-default
   116  
   117    poet-common:
   118      build:
   119        context: .
   120        dockerfile: consensus/poet/common/Dockerfile-installed
   121      image: sawtooth-poet-common:${ISOLATION_ID}
   122      container_name: sawtooth-poet-common-default
   123  
   124    poet-core:
   125      build:
   126        context: .
   127        dockerfile: consensus/poet/core/Dockerfile-installed
   128      image: sawtooth-poet-core:${ISOLATION_ID}
   129      container_name: sawtooth-poet-core-default
   130  
   131    poet-families:
   132      build:
   133        context: .
   134        dockerfile: consensus/poet/families/Dockerfile-installed
   135      image: sawtooth-poet-validator-registry-tp:${ISOLATION_ID}
   136      container_name: sawtooth-poet-families-default
   137  
   138    poet-sgx:
   139      build:
   140        context: .
   141        dockerfile: consensus/poet/sgx/Dockerfile-installed
   142      image: sawtooth-poet-sgx:${ISOLATION_ID}
   143      container_name: sawtooth-poet-sgx-default
   144  
   145    poet-simulator:
   146      build:
   147        context: .
   148        dockerfile: consensus/poet/simulator/Dockerfile-installed
   149      image: sawtooth-poet-simulator:${ISOLATION_ID}
   150      container_name: sawtooth-poet-simulator-default
   151  
   152    block-info-tp:
   153      build:
   154        context: .
   155        dockerfile: families/block_info/Dockerfile-installed
   156      image: sawtooth-block-info-tp:${ISOLATION_ID}
   157      container_name: sawtooth-block-info-tp-default
   158  
   159    identity-tp:
   160      build:
   161        context: .
   162        dockerfile: families/identity/Dockerfile-installed
   163      image: sawtooth-identity-tp:${ISOLATION_ID}
   164      container_name: sawtooth-identity-tp-default
   165  
   166    smallbank-tp-go:
   167      build:
   168        context: .
   169        dockerfile: families/smallbank/smallbank_go/Dockerfile-installed
   170      image: sawtooth-smallbank-tp-go:${ISOLATION_ID}
   171      container_name: sawtooth-smallbank-tp-go-default
   172  
   173    sawtooth-intkey-tp-go:
   174      build:
   175        context: .
   176        dockerfile: sdk/examples/intkey_go/Dockerfile-installed
   177      image: sawtooth-intkey-tp-go:${ISOLATION_ID}
   178      container_name: sawtooth-intkey-tp-go-default
   179  
   180    sawtooth-noop-tp-go:
   181      build:
   182        context: .
   183        dockerfile: sdk/examples/noop_go/Dockerfile-installed
   184      image: sawtooth-noop-tp-go:${ISOLATION_ID}
   185      container_name: sawtooth-noop-tp-go-default
   186  
   187    sawtooth-xo-tp-go:
   188      build:
   189        context: .
   190        dockerfile: sdk/examples/xo_go/Dockerfile-installed
   191      image: sawtooth-xo-tp-go:${ISOLATION_ID}
   192      container_name: sawtooth-xo-tp-go-default
   193  
   194    python-sdk:
   195      build:
   196        context: .
   197        dockerfile: sdk/python/Dockerfile-installed
   198      image: sawtooth-sdk-python:${ISOLATION_ID}
   199      container_name: sawtooth-sdk-python-default
   200  
   201    signing:
   202      build:
   203        context: .
   204        dockerfile: signing/Dockerfile-installed
   205      image: sawtooth-signing:${ISOLATION_ID}
   206      container_name: sawtooth-signing-default
   207  
   208    ias_client:
   209      build:
   210        context: .
   211        dockerfile: utility/ias_client/Dockerfile-installed
   212      image: sawtooth-ias-client:${ISOLATION_ID}
   213      container_name: sawtooth-ias-client-default
   214  
   215    ias_proxy:
   216      build:
   217        context: .
   218        dockerfile: utility/ias_proxy/Dockerfile-installed
   219      image: sawtooth-ias-proxy:${ISOLATION_ID}
   220      container_name: sawtooth-ias-proxy-default
   221  
   222    intkey-tests:
   223      build:
   224        context: .
   225        dockerfile: sdk/examples/intkey_python/Dockerfile-tests-installed
   226      image: sawtooth-intkey-tests:${ISOLATION_ID}
   227      container_name: sawtooth-intkey-tests-default
   228  
   229    xo-tests:
   230      build:
   231        context: .
   232        dockerfile: sdk/examples/xo_python/Dockerfile-tests-installed
   233      image: sawtooth-xo-tests:${ISOLATION_ID}
   234      container_name: sawtooth-xo-tests-default
   235  
   236    integration:
   237      build:
   238        context: .
   239        dockerfile: integration/Dockerfile-installed
   240      image: sawtooth-integration:${ISOLATION_ID}
   241      container_name: sawtooth-integration-default
   242  
   243    smallbank-workload:
   244      build:
   245        context: .
   246        dockerfile: perf/smallbank_workload/Dockerfile-installed
   247      image: sawtooth-smallbank-workload:${ISOLATION_ID}
   248      container_name: sawtooth-smallbank-workload
   249  
   250    devmode-rust:
   251      build:
   252        context: .
   253        dockerfile: sdk/examples/devmode_rust/Dockerfile-installed
   254      image: sawtooth-devmode-rust:${ISOLATION_ID}
   255      container_name: sawtooth-devmode-rust