Skip to content

Commit e0f1be2

Browse files
authored
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
1 parent 56962d4 commit e0f1be2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ services:
5050
worker:
5151
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
5252
command: worker
53+
environment:
54+
- RUN_ENV=ENTERPRISE
5355
volumes:
5456
- ./config:/config
5557
- archive-volume:/archive

0 commit comments

Comments
 (0)