chore: add MIT LICENSE and .env.example
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# intervalsicu-mcp-ui (portal) — environment (copy to .env; do not commit real secrets)
|
||||
|
||||
# Postgres connection string — the SAME shared CNPG database as the MCP server.
|
||||
DATABASE_URL=postgres://user:password@host:5432/dbname
|
||||
|
||||
# OIDC provider = the intervalsicu-mcp-auth server.
|
||||
OIDC_ISSUER=https://intervalsicu.farhoodlabs.com/api/auth
|
||||
OIDC_CLIENT_ID=intervalsicu-portal
|
||||
# Public client (PKCE) — leave empty for no client secret.
|
||||
OIDC_CLIENT_SECRET=
|
||||
OIDC_REDIRECT_URL=https://intervalsicu.farhoodlabs.com/portal/auth/callback
|
||||
# Optional OIDC scopes (default: openid email profile).
|
||||
# OIDC_SCOPES=openid email profile
|
||||
|
||||
# Session cookie signing secret — generate a long random string.
|
||||
SESSION_SECRET=
|
||||
|
||||
# Base64-encoded 32-byte key for AES-256-GCM encryption of stored Intervals API
|
||||
# keys. MUST be identical to the MCP server's INTERVALS_ENC_KEY (shared DB/crypto).
|
||||
INTERVALS_ENC_KEY=
|
||||
|
||||
# Comma-separated admin emails allowed to approve accounts.
|
||||
ADMIN_EMAILS=
|
||||
|
||||
# Optional Intervals.icu API base (default https://intervals.icu/api/v1).
|
||||
# INTERVALS_API_BASE_URL=https://intervals.icu/api/v1
|
||||
# Path prefix when served under a subpath (this deployment serves under /portal).
|
||||
ROOT_PATH=/portal
|
||||
# MCP connector URL shown to users on the account page.
|
||||
MCP_URL=https://intervalsicu.farhoodlabs.com/mcp
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 Chris Farhood
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Reference in New Issue
Block a user