git.delta.rocks / unique-network / refs/commits / 8057bddf39cb

difftreelog

source

docker-compose-tests.yml1.2 KiBsourcehistory
1version: "3.5"23services:4  node_validator1:5    image: nft_node_test6    container_name: validator1_test7    ports:8      - 9944:99449    build:10      context: ./11      dockerfile: Dockerfile12#    volumes:13#      - ./chain-data:/chain-data14    networks:15      - node_test_network16    command: bash -c "/usr/local/bin/nft --dev --tmp --ws-external --rpc-external"1718  integration_tests:19    container_name: integration_test20    image: int_test21    build:22      context: ./23      dockerfile: Dockerfile-tests24    volumes:25      - ./tests/src/config_docker.ts:/nft_parachain/tests/src/config.ts26      - /home/polkadot/mochawesome-report:/nft_parachain/tests/mochawesome-report27  #  command: bash -c 'while true; do sleep 20; df -h; done'28    networks:29      - node_test_network30    depends_on:31      - node_validator13233  unit_tests:34    container_name: unit_test35    image: nft_unit_test36    build:37      context: ./38      dockerfile: Dockerfile-unit39    container_name: unit_test40    networks:41      - node_test_network42   # command: bash -c 'while true; do sleep 20; df -h; done'43    command: bash -c 'cargo test'4445networks:46  node_test_network:47    name: node_test_network48    driver: bridge