-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
default to internal service:port for PROMPT_API_URL, add LANGTAIL_LIC…
…ENSE_KEY
- Loading branch information
Showing
4 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,7 @@ Below is a list of all available configuration parameters that can be set during | |
|
||
| Parameter | Description | Default Value | | ||
|--------------------------------|--------------------------------------------------|--------------------------------------------------| | ||
| `LANGTAIL_LICENSE_KEY` | Langtail license key - contact us at [email protected] | `your-license-key` | | ||
| `SMTP_URL` | SMTP connection URL | `smtp://user:[email protected]:587` | | ||
| `EMAIL_FROM` | Default email address | `[email protected]` | | ||
| `EMAIL_VERIFICATION_SECRET` | Secret for email verification **Must be generated** | `default-email-verification-secret` | | ||
|
@@ -75,6 +76,7 @@ Below is a list of all available configuration parameters that can be set during | |
| `JWT_SIGNING_KEY` | JWT signing key. **Must be generated**. | `default-jwt-signing-key` | | ||
| `AUTH_URL` | URL for the authentication service | `https://default-auth-url.com` | | ||
| `AUTH_SECRET` | Authentication secret. **Must be generated**. | `default-auth-secret` | | ||
| `PROMPT_API_URL` | URL for the prompt API service used internally by Langtail backend | `http://langtail:3000/api/prompt-api` | | ||
| `DATABASE_URL` | Database connection URL | `mysql://user:password@localhost:5432/database` | | ||
| `MIGRATIONS_DATABASE_URL` | Database connection URL for migrations. Can be the same as DATABASE_URL, but in case you want to use a different user to apply migrations, there's a way | `mysql://user:password@localhost:5432/database` | | ||
| `PRISMA_FIELD_ENCRYPTION_KEY` | Encryption key for Prisma fields. **Must be generated**. | `default-prisma-field-encryption-key` | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,12 +121,13 @@ extraManifests: [] | |
SKIP_ENV_VALIDATION: "false" | ||
SENTRY_ENABLED: "true" | ||
AUTH_URL: "https://default-auth-url.com" | ||
PROMPT_API_URL: "http://your-domain.com/api/prompt-api" | ||
PROMPT_API_URL: "http://langtail:3000/api/prompt-api" # Using the default service name and port | ||
GITHUB_ID: "default-github-id" | ||
GOOGLE_ID: "default-google-id" | ||
EMAIL_FROM: "[email protected]" | ||
|
||
# Secret ENVs | ||
LANGTAIL_LICENSE_KEY: "your-license-key" | ||
DATABASE_URL: "mysql://user:password@localhost:3306/database" | ||
MIGRATIONS_DATABASE_URL: "mysql://user:password@localhost:3306/database" | ||
PRISMA_FIELD_ENCRYPTION_KEY: "default-prisma-field-encryption-key" | ||
|