From e0f1be253ca726a2b55a12d17d87ae0a30cc4a78 Mon Sep 17 00:00:00 2001 From: Leo Q Date: Thu, 24 Aug 2023 23:07:58 +0800 Subject: [PATCH] insert RUN_ENV envrionment for worker for enterprise instance, this environment should set to RUN_ENV https://github.com/codecov/worker/blob/5d91d084eb8c80fd1f26c685d5076df9b5d8b80f/helpers/environment.py#L44-L59 --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index c04b909..47e9e4b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -50,6 +50,8 @@ services: worker: image: codecov/enterprise-worker:latest-stable #note: this is for setup purposes only, be sure to pin to the latest release from our changelog: https://docs.codecov.io/changelog command: worker + environment: + - RUN_ENV=ENTERPRISE volumes: - ./config:/config - archive-volume:/archive