Put the fedwiki chain (init, render, farm, caddy) behind a fedwiki compose profile symmetric with discourse's; the default composition is neither, selected via COMPOSE_PROFILES in test/.env, so a default stack no longer binds host 443. Guard every script and walkthrough on service presence: shared skipUnlessIntegrationEndpointReachable helper, seed-stack presence checks (also repairing its unsourced .env and container-native render invocation), generic root-owned testdata reclaim in teardown, discourse coverage in verify-stack-isolation, and fedwiki's 8090 base in the port probe. Update stack docs and finalize status bookkeeping for all three changes; archives the test-stack-integration-profiles change.
53 lines
2.2 KiB
YAML
53 lines
2.2 KiB
YAML
# WARNING - DO NOT USE THIS IN PRODUCTION
|
|
# This is a local development configuration file
|
|
# It is used to configure the member console application
|
|
# to connect to the local Keycloak server
|
|
# This file is not secure and should not be used in production
|
|
# It is only used for local development purposes only
|
|
|
|
env: development
|
|
port: 8081
|
|
|
|
# Keycloak OIDC settings
|
|
oidc-sp-client-id: "member-console"
|
|
oidc-sp-client-secret: "TEST-ONLY-oidc-client-secret-000"
|
|
oidc-idp-issuer-url: "http://keycloak.localhost:8080/realms/test"
|
|
|
|
# Application settings
|
|
base-url: "http://localhost:8081"
|
|
db-dsn: "postgres://member_console:member_console@localhost:5432/member_console?sslmode=disable"
|
|
valkey-addr: "localhost:6379"
|
|
csrf-secret: "TEST-ONLY-csrf-do-not-use-in-prd"
|
|
|
|
# Federated Wiki settings — the farm connection is OPT-IN and lives in
|
|
# test/.env, not here, because the farm URL carries this worktree's allocated
|
|
# FedWiki port. Uncomment the MC_FEDWIKI_* block there and add "fedwiki" to
|
|
# COMPOSE_PROFILES to compose and configure the farm together. Leaving
|
|
# farm-api-url and admin-token unset is valid: FedWiki's farm integration
|
|
# simply stands down, and the app boots without it.
|
|
|
|
# FedWiki sync settings — inert while fedwiki-sync-enabled stays at its false
|
|
# default (Startup returns early), so these only set the test cadence for a
|
|
# stack that has opted in. Prod default is 1h.
|
|
fedwiki-sync-interval: 1m
|
|
fedwiki-sync-trigger-immediately: true
|
|
|
|
# Discourse group-sync settings — same test cadence as the FedWiki sync
|
|
# (prod default is 15m). Inert until the discourse profile's base-url /
|
|
# api-key are configured in .env; the schedule spec is rewritten on boot,
|
|
# so changing this takes effect on app restart.
|
|
discourse-sync-interval: 1m
|
|
discourse-sync-trigger-immediately: true
|
|
|
|
# Temporal settings
|
|
temporal-host: "localhost:7233"
|
|
temporal-namespace: "default"
|
|
temporal-oauth-token-url: "http://keycloak.localhost:8080/realms/test/protocol/openid-connect/token"
|
|
temporal-oauth-client-id: "member-console"
|
|
temporal-oauth-client-secret: "TEST-ONLY-oidc-client-secret-000"
|
|
temporal-oauth-scopes: []
|
|
|
|
# Stripe settings
|
|
stripe-api-key-file: "secrets/stripe-api-key"
|
|
stripe-webhook-secret-file: "secrets/stripe-webhook-secret"
|