Skip to content

Commit

Permalink
add basic docker-compose for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hroederld committed Jun 18, 2020
1 parent c17b2e6 commit 149bbe4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: '2'

services:
ldrelay:
image: launchdarkly/ld-relay
environment:
- LD_ENV_BENCHMARK=${LAUNCHDARKLY_SDK_KEY}
- LD_MOBILE_KEY_BENCHMARK=${LAUNCHDARKLY_MOBILE_KEY}
- USE_EVENTS=true
ports:
- "8030:8039"

master:
image: locust-ld-relay
build:
context: .
dockerfile: Dockerfile
environment:
- LAUNCHDARKLY_SDK_KEY
- LAUNCHDARKLY_MOBILE_KEY
- LAUNCHDARKLY_HEARTBEAT_PROJECT
- LAUNCHDARKLY_HEARTBEAT_API_KEY
- TARGET_URL=http://ldrelay:8030
- LAUNCHDARKLY_BASE_URI=http://ldrelay:8030
- LAUNCHDARKLY_EVENTS_URI=http://ldrelay:8030
- LAUNCHDARKLY_STREAM_URI=http://ldrelay:8030
- LAUNCHDARKLY_MOBILE_STREAM_URI=http://ldrelay:8030
depends_on:
- ldrelay
ports:
- "8089:8089"

0 comments on commit 149bbe4

Please sign in to comment.