Add environment variables to allow enabling all features locally

This commit is contained in:
Andrew Dryga
2024-04-22 12:56:04 -06:00
parent 450b647553
commit a666d63051

View File

@@ -95,6 +95,13 @@ services:
OUTBOUND_EMAIL_ADAPTER_OPTS: '{"api_key":"7da7d1cd-111c-44a7-b5ac-4027b9d230e5"}'
# Seeds
STATIC_SEEDS: "true"
# Feature flags
FLOW_ACTIVITIES_ENABLED: "true"
MULTI_SITE_RESOURCES_ENABLED: "true"
TRAFFIC_FILTERS_ENABLED: "true"
SELF_HOSTED_RELAYS_ENABLED: "true"
IDP_SYNC_ENABLED: "true"
REST_API_ENABLED: "true"
healthcheck:
test: ["CMD-SHELL", "curl -f localhost:8080/healthz"]
start_period: 10s
@@ -157,6 +164,13 @@ services:
OUTBOUND_EMAIL_ADAPTER_OPTS: '{"api_key":"7da7d1cd-111c-44a7-b5ac-4027b9d230e5"}'
# Seeds
STATIC_SEEDS: "true"
# Feature flags
FLOW_ACTIVITIES_ENABLED: "true"
MULTI_SITE_RESOURCES_ENABLED: "true"
TRAFFIC_FILTERS_ENABLED: "true"
SELF_HOSTED_RELAYS_ENABLED: "true"
IDP_SYNC_ENABLED: "true"
REST_API_ENABLED: "true"
depends_on:
vault:
condition: "service_healthy"
@@ -213,6 +227,13 @@ services:
OUTBOUND_EMAIL_ADAPTER_OPTS: '{"api_key":"7da7d1cd-111c-44a7-b5ac-4027b9d230e5"}'
# Seeds
STATIC_SEEDS: "true"
# Feature flags
FLOW_ACTIVITIES_ENABLED: "true"
MULTI_SITE_RESOURCES_ENABLED: "true"
TRAFFIC_FILTERS_ENABLED: "true"
SELF_HOSTED_RELAYS_ENABLED: "true"
IDP_SYNC_ENABLED: "true"
REST_API_ENABLED: "true"
healthcheck:
test: ["CMD-SHELL", "curl -f localhost:4000/healthz"]
start_period: 10s
@@ -275,6 +296,13 @@ services:
MIX_ENV: "prod"
# Seeds
STATIC_SEEDS: "true"
# Feature flags
FLOW_ACTIVITIES_ENABLED: "true"
MULTI_SITE_RESOURCES_ENABLED: "true"
TRAFFIC_FILTERS_ENABLED: "true"
SELF_HOSTED_RELAYS_ENABLED: "true"
IDP_SYNC_ENABLED: "true"
REST_API_ENABLED: "true"
depends_on:
postgres:
condition: "service_healthy"