go.uber.org/cadence@v1.2.9/docker/buildkite/docker-compose-local.yml (about) 1 version: "3.5" 2 3 services: 4 cassandra: 5 image: cassandra:4.1.3 6 ports: 7 - "9042:9042" 8 networks: 9 services-network: 10 aliases: 11 - cassandra 12 13 statsd: 14 image: hopsoft/graphite-statsd 15 ports: 16 - "8080:80" 17 - "2003:2003" 18 - "8125:8125" 19 - "8126:8126" 20 networks: 21 services-network: 22 aliases: 23 - statsd 24 25 cadence: 26 image: ubercadence/server:master-auto-setup 27 ports: 28 - "7933:7933" 29 - "7833:7833" 30 - "7934:7934" 31 - "7935:7935" 32 - "7939:7939" 33 environment: 34 - "CASSANDRA_SEEDS=cassandra" 35 - "STATSD_ENDPOINT=statsd:8125" 36 - "DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development.yaml" 37 depends_on: 38 - cassandra 39 - statsd 40 networks: 41 services-network: 42 aliases: 43 - cadence 44 45 integ-test-sticky-off: 46 build: 47 context: ../../ 48 dockerfile: ./docker/buildkite/Dockerfile 49 command: 50 - /bin/sh 51 - -e 52 - -c 53 - | 54 make integ_test_sticky_off 55 environment: 56 - "SERVICE_ADDR=cadence:7933" 57 - "GO111MODULE=on" 58 depends_on: 59 - cadence 60 volumes: 61 - ../../:/go/src/go.uber.org/cadence 62 networks: 63 services-network: 64 aliases: 65 - integ-test-sticky-off 66 67 integ-test-sticky-on: 68 build: 69 context: ../../ 70 dockerfile: ./docker/buildkite/Dockerfile 71 command: 72 - /bin/sh 73 - -e 74 - -c 75 - | 76 make integ_test_sticky_on 77 environment: 78 - "SERVICE_ADDR=cadence:7933" 79 - "GO111MODULE=on" 80 depends_on: 81 - cadence 82 volumes: 83 - ../../:/go/src/go.uber.org/cadence 84 networks: 85 services-network: 86 aliases: 87 - integ-test-sticky-on 88 89 integ-test-grpc: 90 build: 91 context: ../../ 92 dockerfile: ./docker/buildkite/Dockerfile 93 command: 94 - /bin/sh 95 - -e 96 - -c 97 - | 98 make integ_test_grpc 99 environment: 100 - "SERVICE_ADDR=cadence:7833" 101 - "ENABLE_GRPC_ADAPTER=true" 102 - "GO111MODULE=on" 103 depends_on: 104 - cadence 105 volumes: 106 - ../../:/go/src/go.uber.org/cadence 107 networks: 108 services-network: 109 aliases: 110 - integ-test-grpc 111 112 unit-test: 113 build: 114 context: ../../ 115 dockerfile: ./docker/buildkite/Dockerfile 116 command: 117 - /bin/sh 118 - -e 119 - -c 120 - | 121 make unit_test 122 environment: 123 - "GO111MODULE=on" 124 volumes: 125 - ../../:/go/src/go.uber.org/cadence 126 networks: 127 services-network: 128 aliases: 129 - unit-test 130 131 coverage-report: 132 build: 133 context: ../../ 134 dockerfile: ./docker/buildkite/Dockerfile 135 command: 136 - /bin/sh 137 - -e 138 - -c 139 - | 140 make coverage_report 141 environment: 142 - "GO111MODULE=on" 143 volumes: 144 - ../../:/go/src/go.uber.org/cadence 145 146 networks: 147 services-network: 148 name: services-network 149 driver: bridge