github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/docker/compose/sawtooth-build.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    validator:
    20      build:
    21        context: ../../
    22        dockerfile: ./validator/Dockerfile
    23      image: sawtooth-validator-local:${ISOLATION_ID}
    24      volumes:
    25        - ../../:/project/sawtooth-core
    26  
    27    adm:
    28      build:
    29        context: ../../
    30        dockerfile: ./adm/Dockerfile
    31      image: sawtooth-adm-local:${ISOLATION_ID}
    32      volumes:
    33        - ../../:/project/sawtooth-core
    34  
    35    smallbank-rust-tp:
    36      build:
    37        context: ../../
    38        dockerfile: ./families/smallbank/smallbank_rust/Dockerfile
    39      image: smallbank-rust-tp-local:${ISOLATION_ID}
    40      volumes:
    41        - ../../:/project/sawtooth-core
    42  
    43    smallbank-workload:
    44      build:
    45        context: ../../
    46        dockerfile: ./perf/smallbank_workload/Dockerfile
    47      image: smallbank-workload-local:${ISOLATION_ID}
    48      volumes:
    49        - ../../:/project/sawtooth-core
    50  
    51    intkey-tp-rust:
    52      build:
    53        context: ../../
    54        dockerfile: ./sdk/examples/intkey_rust/Dockerfile
    55      image: sawtooth-intkey-tp-rust-local:${ISOLATION_ID}
    56      volumes:
    57        - ../../:/project/sawtooth-core
    58  
    59    xo-tp-rust:
    60      build:
    61        context: ../../
    62        dockerfile: ./sdk/examples/xo_rust/Dockerfile
    63      image: sawtooth-xo-tp-rust-local:${ISOLATION_ID}
    64      volumes:
    65        - ../../:/project/sawtooth-core
    66  
    67    signing:
    68      build:
    69        context: ../../
    70        dockerfile: ./signing/Dockerfile
    71      image: sawtooth-signing-local:${ISOLATION_ID}
    72      volumes:
    73        - ../../:/project/sawtooth-core
    74  
    75    cli:
    76      build:
    77        context: ../../
    78        dockerfile: ./cli/Dockerfile
    79      image: sawtooth-cli-local:${ISOLATION_ID}
    80      volumes:
    81        - ../../:/project/sawtooth-core
    82  
    83    python-sdk:
    84      build:
    85        context: ../../
    86        dockerfile: ./sdk/python/Dockerfile
    87      image: sawtooth-python-sdk-local:${ISOLATION_ID}
    88      volumes:
    89        - ../../:/project/sawtooth-core
    90  
    91    rest-api:
    92      build:
    93        context: ../../
    94        dockerfile: ./rest_api/Dockerfile
    95      image: sawtooth-rest-api-local:${ISOLATION_ID}
    96      volumes:
    97        - ../../:/project/sawtooth-core
    98  
    99    poet-cli:
   100      build:
   101        context: ../../
   102        dockerfile: ./consensus/poet/cli/Dockerfile
   103      image: sawtooth-poet-cli-local:${ISOLATION_ID}
   104      volumes:
   105        - ../../:/project/sawtooth-core
   106  
   107    poet-common:
   108      build:
   109        context: ../../
   110        dockerfile: ./consensus/poet/common/Dockerfile
   111      image: sawtooth-poet-common-local:${ISOLATION_ID}
   112      volumes:
   113        - ../../:/project/sawtooth-core
   114  
   115    poet-core:
   116      build:
   117        context: ../../
   118        dockerfile: ./consensus/poet/core/Dockerfile
   119      image: sawtooth-poet-core-local:${ISOLATION_ID}
   120      volumes:
   121        - ../../:/project/sawtooth-core
   122  
   123    poet-families:
   124      build:
   125        context: ../../
   126        dockerfile: ./consensus/poet/families/Dockerfile
   127      image: sawtooth-poet-families-local:${ISOLATION_ID}
   128      volumes:
   129        - ../../:/project/sawtooth-core
   130  
   131    poet-simulator:
   132      build:
   133        context: ../../
   134        dockerfile: ./consensus/poet/simulator/Dockerfile
   135      image: sawtooth-poet-simulator-local:${ISOLATION_ID}
   136      volumes:
   137        - ../../:/project/sawtooth-core
   138  
   139    devmode-rust:
   140      build:
   141        context: ../../
   142        dockerfile: ./sdk/examples/devmode_rust/Dockerfile
   143      image: sawtooth-devmode-rust-local:${ISOLATION_ID}
   144      volumes:
   145        - ../../:/project/sawtooth-core