diff --git a/docker-compose.yml b/docker-compose.yml index d47602a352..af643ec226 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -439,11 +439,8 @@ services: vroom: <<: *restart_policy image: "$VROOM_IMAGE" - environment: - SENTRY_KAFKA_BROKERS_PROFILING: "kafka:9092" - SENTRY_KAFKA_BROKERS_OCCURRENCES: "kafka:9092" - SENTRY_BUCKET_PROFILES: file://localhost//var/lib/sentry-profiles - SENTRY_SNUBA_HOST: "http://snuba-api:1218" + env_file: + - ./vroom.env volumes: - sentry-vroom:/var/lib/sentry-profiles depends_on: diff --git a/vroom.env b/vroom.env new file mode 100644 index 0000000000..b629e09dde --- /dev/null +++ b/vroom.env @@ -0,0 +1,4 @@ +SENTRY_KAFKA_BROKERS_PROFILING="kafka:9092" +SENTRY_KAFKA_BROKERS_OCCURRENCES="kafka:9092" +SENTRY_BUCKET_PROFILES=file://localhost//var/lib/sentry-profiles +SENTRY_SNUBA_HOST="http://snuba-api:1218"