git.delta.rocks / unique-network / refs/commits / 549eb4c11dfd

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:993311    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    env_file:23      - ./.env24    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_tests31    image: integration_tests32    build:33      context: tests/34      dockerfile: Dockerfile-tests35    environment:36      RPC_URL: http://blockchain_nodes:9933/37    volumes:38      - ./tests/src/config_docker.ts:/nft_parachain/src/config.ts39      - /home/ubuntu/mochawesome-report:/nft_parachain/mochawesome-report40#    command: bash -c 'while true; do sleep 20; df -h; done'41    networks:42      - node_test_network43    depends_on:44      - blockchain_nodes4546#  unit_tests:47#    container_name: unit_test48#    image: nft_unit_test49#    build:50#      context: ./51#      dockerfile: Dockerfile-unit52#    container_name: unit_test53#    networks:54#      - node_test_network55   # command: bash -c 'while true; do sleep 20; df -h; done'56#    command: bash -c 'cargo test'5758networks:59  node_test_network:60    name: node_test_network61    driver: bridge