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

difftreelog

source

docker-compose-tests.yml1.0 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    networks:27      - node_test_network28    depends_on:29      - node_validator13031   unit_tests:32    container_name: unit_test33    image: nft_unit_test34    build:35      context: ./36      dockerfile: Dockerfile-unit37    container_name: unit_test38    networks:39      - node_test_network40   # command: bash -c 'while true; do sleep 20; df -h; done'41    command: bash -c 'cargo test'4243networks:44  node_test_network:45    name: node_test_network46    driver: bridge