Adapt APP_PORTS environment variable to the new extension system and change its format to APP_PORTS='{"http": ["8001"]}'

This commit is contained in:
M. Mert Yildiran
2021-08-24 15:39:36 +03:00
parent cc5620e367
commit d4425e34ce
5 changed files with 26 additions and 43 deletions

View File

@@ -8,4 +8,5 @@ const (
MaxEntriesDBSizeBytesEnvVar = "MAX_ENTRIES_DB_BYTES"
RulePolicyPath = "/app/enforce-policy/"
RulePolicyFileName = "enforce-policy.yaml"
AppPortsEnvVar = "APP_PORTS"
)