Skip to content

Conversation

@reynir
Copy link
Collaborator

@reynir reynir commented Dec 18, 2025

This adds two new environment variables used for seeding the tenant: PUBLIC_HOST_TENANT_ONE and PUBLIC_HOST_TENANT_TWO. They are used as the host ("url") of the tenants to select which tenant a request corresponds to. By having this configurable it is easier to run a development environment outside docker / devcontainers where the port is mapped (duplicated).

The README is also extended with instructions how to use these new environment variables as well as how to set up a development environment with opam and what other information I found could be useful.

The environment variable name PUBLIC_HOST_TENANT_X was chosen as it is
not the full URL but the hostname (and optional port).
@PossessedC0bra PossessedC0bra merged commit 04311a6 into main Dec 19, 2025
7 checks passed
@PossessedC0bra PossessedC0bra deleted the feature/seed-tenant-url branch December 19, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants