git.delta.rocks / unique-network / refs/commits / b96d6cff26b8

difftreelog

source

docker-compose-tests-parachain.yml1.6 KiBsourcehistory
1version: "3.5"23services:4  blockchain_nodes:5    image: blockchain_nodes6    container_name: blockchain_nodes7    ports:8      - 9944:99449      - 9844:984410      - 9933:993411    build:12      context: ./13      dockerfile: Dockerfile-parachain14      args:15        - RUST_TOOLCHAIN=${RUST_TOOLCHAIN:?err}16        - RUST_C=${RUST_C:?err}17        - POLKA_VERSION=${POLKA_VERSION:?err}18        - NFT_BRANCH=${NFT_BRANCH:?err}19    volumes:20#      - ./chain-data:/chain-data21      - ./launch-config.json:/polkadot-launch/launch-config.json22      - ./runtime_types.json:/polkadot-launch/runtime_types.json23    env_file:24      - ./.env25    networks:26      - node_test_network27    #command: bash -c "yarn --cwd polkadot-launch start"28    #command: bash -c 'while true; do sleep 60; df -h; done'2930  integration_tests:31    container_name: integration_tests32    image: integration_tests33    build:34      context: ./35      dockerfile: Dockerfile-tests36    volumes:37      - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts38      - /home/ubuntu/mochawesome-report:/nft_parachain/tests/mochawesome-report39#    command: bash -c 'while true; do sleep 20; df -h; done'40    networks:41      - node_test_network42    depends_on:43      - blockchain_nodes4445#  unit_tests:46#    container_name: unit_test47#    image: nft_unit_test48#    build:49#      context: ./50#      dockerfile: Dockerfile-unit51#    container_name: unit_test52#    networks:53#      - node_test_network54   # command: bash -c 'while true; do sleep 20; df -h; done'55#    command: bash -c 'cargo test'5657networks:58  node_test_network:59    name: node_test_network60    driver: bridge