chore: fix contributing docs and fix feature flags in docker compose (#5572)

This commit is contained in:
FTB_lag
2024-06-27 21:45:59 +03:00
committed by GitHub
parent 76e55e6138
commit efd0218383
2 changed files with 21 additions and 21 deletions

View File

@@ -96,12 +96,12 @@ services:
# Seeds
STATIC_SEEDS: "true"
# Feature flags
FLOW_ACTIVITIES_ENABLED: "true"
FEATURE_FLOW_ACTIVITIES_ENABLED: "true"
FEATURE_POLICY_CONDITIONS_ENABLED: "true"
MULTI_SITE_RESOURCES_ENABLED: "true"
SELF_HOSTED_RELAYS_ENABLED: "true"
IDP_SYNC_ENABLED: "true"
REST_API_ENABLED: "true"
FEATURE_MULTI_SITE_RESOURCES_ENABLED: "true"
FEATURE_SELF_HOSTED_RELAYS_ENABLED: "true"
FEATURE_IDP_SYNC_ENABLED: "true"
FEATURE_REST_API_ENABLED: "true"
healthcheck:
test: ["CMD-SHELL", "curl -f localhost:8080/healthz"]
start_period: 10s
@@ -165,12 +165,12 @@ services:
# Seeds
STATIC_SEEDS: "true"
# Feature flags
FLOW_ACTIVITIES_ENABLED: "true"
FEATURE_FLOW_ACTIVITIES_ENABLED: "true"
FEATURE_POLICY_CONDITIONS_ENABLED: "true"
MULTI_SITE_RESOURCES_ENABLED: "true"
SELF_HOSTED_RELAYS_ENABLED: "true"
IDP_SYNC_ENABLED: "true"
REST_API_ENABLED: "true"
FEATURE_MULTI_SITE_RESOURCES_ENABLED: "true"
FEATURE_SELF_HOSTED_RELAYS_ENABLED: "true"
FEATURE_IDP_SYNC_ENABLED: "true"
FEATURE_REST_API_ENABLED: "true"
depends_on:
vault:
condition: "service_healthy"
@@ -228,12 +228,12 @@ services:
# Seeds
STATIC_SEEDS: "true"
# Feature flags
FLOW_ACTIVITIES_ENABLED: "true"
FEATURE_FLOW_ACTIVITIES_ENABLED: "true"
FEATURE_POLICY_CONDITIONS_ENABLED: "true"
MULTI_SITE_RESOURCES_ENABLED: "true"
SELF_HOSTED_RELAYS_ENABLED: "true"
IDP_SYNC_ENABLED: "true"
REST_API_ENABLED: "true"
FEATURE_MULTI_SITE_RESOURCES_ENABLED: "true"
FEATURE_SELF_HOSTED_RELAYS_ENABLED: "true"
FEATURE_IDP_SYNC_ENABLED: "true"
FEATURE_REST_API_ENABLED: "true"
healthcheck:
test: ["CMD-SHELL", "curl -f localhost:4000/healthz"]
start_period: 10s
@@ -297,12 +297,12 @@ services:
# Seeds
STATIC_SEEDS: "true"
# Feature flags
FLOW_ACTIVITIES_ENABLED: "true"
FEATURE_FLOW_ACTIVITIES_ENABLED: "true"
FEATURE_POLICY_CONDITIONS_ENABLED: "true"
MULTI_SITE_RESOURCES_ENABLED: "true"
SELF_HOSTED_RELAYS_ENABLED: "true"
IDP_SYNC_ENABLED: "true"
REST_API_ENABLED: "true"
FEATURE_MULTI_SITE_RESOURCES_ENABLED: "true"
FEATURE_SELF_HOSTED_RELAYS_ENABLED: "true"
FEATURE_IDP_SYNC_ENABLED: "true"
FEATURE_REST_API_ENABLED: "true"
depends_on:
postgres:
condition: "service_healthy"

View File

@@ -131,7 +131,7 @@ docker compose run --rm elixir /bin/sh -c "cd apps/domain && mix ecto.create &&
Created accounts:
c89bcc8c-9392-4dae-a40d-888aef6d28e0: Firezone Account
docker compose up -d api web vault gateway client relay
docker compose up -d api web vault gateway client relay-1 relay-2
```
You should now be able to connect to `http://localhost:8080/<account-uuid-here>`