github.com/status-im/status-go@v1.1.0/integration-tests/docker-compose.test.status-go.yml (about)

     1  services:
     2    status-go:
     3      build:
     4        context: ../
     5        dockerfile: _assets/build/Dockerfile
     6        args:
     7          build_tags: gowaku_no_rln
     8          build_target: statusd
     9          build_flags: -ldflags="-X github.com/status-im/status-go/params.Version= -X github.com/status-im/status-go/params.GitCommit=11f83780d -X github.com/status-im/status-go/params.IpfsGatewayURL=https://ipfs.status.im/ -X github.com/status-im/status-go/vendor/github.com/ethereum/go-ethereum/metrics.EnabledStr=true"
    10      entrypoint: ["statusd", "-c", "/static/configs/config.json", "--server=0.0.0.0:8354", "--seed-phrase=test test test test test test test test test test test junk", "--password=Strong12345"]
    11      # ports:
    12      #   - 3333:3333
    13      #   - 8354:8354 # use for local debbuging only
    14      healthcheck:
    15        test: ["CMD-SHELL", "curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"net_version\",\"params\":[],\"id\":1}' -H 'Content-Type: application/json' http://0.0.0.0:3333 || exit 1"]
    16        interval: 5s
    17        timeout: 2s
    18        retries: 120
    19  
    20    status-go-no-funds:
    21      build:
    22        context: ../
    23        dockerfile: _assets/build/Dockerfile
    24        args:
    25          build_tags: gowaku_no_rln
    26          build_target: statusd
    27          build_flags: -ldflags="-X github.com/status-im/status-go/params.Version= -X github.com/status-im/status-go/params.GitCommit=11f83780d -X github.com/status-im/status-go/params.IpfsGatewayURL=https://ipfs.status.im/ -X github.com/status-im/status-go/vendor/github.com/ethereum/go-ethereum/metrics.EnabledStr=true"
    28      entrypoint: ["statusd", "-c", "/static/configs/config.json", "--seed-phrase=test test test test test test test test test test test takoe", "--password=Strong12345"]
    29      # ports:
    30      #   - 3334:3333 # use for local debbuging only
    31      healthcheck:
    32        test: ["CMD-SHELL", "curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"net_version\",\"params\":[],\"id\":1}' -H 'Content-Type: application/json' http://0.0.0.0:3333 || exit 1"]
    33        interval: 5s
    34        timeout: 2s
    35        retries: 120
    36  
    37    tests-rpc:
    38      user: ${INTEGRATION_TESTS_DOCKER_UID}
    39      depends_on:
    40        status-go:
    41          condition: service_healthy
    42        status-go-no-funds:
    43          condition: service_healthy
    44        deploy-communities-contracts:
    45          condition: service_completed_successfully
    46      build:
    47        context: .
    48        dockerfile: Dockerfile.tests-rpc
    49      entrypoint: ["pytest", "-m", "wallet", "--rpc_url=http://status-go:3333", "--rpc_url_2=http://status-go-no-funds:3333"]
    50      volumes:
    51        - .:/tests-rpc