git.delta.rocks / unique-network / refs/commits / 65052d4c3e42

difftreelog

source

docker-compose-tests-parachain.yml1.6 KiBsourcehistory
1version: "3.5"23services:4  node_validator1:5    image: nft_node_test6    container_name: validator1_test7    ports:8      - 9944:99449      - 9844:984410      - 9933:993311    build:12      context: ./13      dockerfile: Dockerfile-parachain14    volumes:15#      - ./chain-data:/chain-data16      - ./launch-config.json:/polkadot-launch/launch-config.json17      - ./runtime_types.json:/polkadot-launch/runtime_types.json18    environment:19      - WASM_TOOLCHAIN=${WASM_TOOLCHAIN}20      - POLKA_VERSION=${POLKA_VERSION}21      - NFT_BRANCH=${NFT_BRANCH}22    env_file:23      - ./.env-parachain24    networks:25      - node_test_network26    #command: bash -c "yarn --cwd polkadot-launch start"27    #command: bash -c 'while true; do sleep 60; df -h; done'2829  integration_tests:30    container_name: integration_test31#    ports:32#      - 9944:994433#      - 9844:984434#      - 9933:993335    image: int_test36    build:37      context: ./38      dockerfile: Dockerfile-tests39    volumes:40      - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts41      - ./mochawesome-report:/nft_parachain/tests/mochawesome-report42#    command: bash -c 'while true; do sleep 20; df -h; done'43    networks:44      - node_test_network45    depends_on:46      - node_validator14748#  unit_tests:49#    container_name: unit_test50#    image: nft_unit_test51#    build:52#      context: ./53#      dockerfile: Dockerfile-unit54#    container_name: unit_test55#    networks:56#      - node_test_network57   # command: bash -c 'while true; do sleep 20; df -h; done'58#    command: bash -c 'cargo test'5960networks:61  node_test_network:62    name: node_test_network63    driver: bridge