Skip to content

Commit

Permalink
fix(docker): Make options for webhooks configurable via env vars in d…
Browse files Browse the repository at this point in the history
…ocker
  • Loading branch information
Stephanie Lakner authored and bameda committed Apr 3, 2024
1 parent 5fea915 commit 45029c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@

INSTANCE_TYPE = "D"

WEBHOOKS_ENABLED = True
WEBHOOKS_ENABLED = os.getenv('WEBHOOKS_ENABLED', 'True') == 'True'
WEBHOOKS_ALLOW_PRIVATE_ADDRESS = os.getenv('WEBHOOKS_ALLOW_PRIVATE_ADDRESS', 'False') == 'True'
WEBHOOKS_ALLOW_REDIRECTS = os.getenv('WEBHOOKS_ALLOW_REDIRECTS', 'False') == 'True'

# Setting DEFAULT_PROJECT_SLUG_PREFIX to false
# removes the username from project slug
Expand Down

0 comments on commit 45029c7

Please sign in to comment.