forked from stack-auth/stack
-
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.
* dev: Merge seed scripts (stack-auth#354) chore: update package versions added codegen disabled fern comments Self-host docker (stack-auth#353) # Conflicts: # .dockerignore # .github/workflows/docker-build.yaml # apps/backend/package.json # apps/backend/prisma/tsup.config.ts # apps/dashboard/package.json # apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/auth-methods/providers.tsx # apps/dashboard/src/app/layout.tsx # packages/stack/package.json # packages/stack/src/lib/stack-app.ts # pnpm-lock.yaml
- Loading branch information
Showing
91 changed files
with
894 additions
and
210 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
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 |
---|---|---|
|
@@ -71,9 +71,9 @@ jobs: | |
echo "$OUTPUT" | ||
URL=$(echo "$OUTPUT" | grep -oP 'Published docs to \K.*(?= \()') | ||
echo "Preview URL: $URL" | ||
echo "🌿 Preview your docs: $URL" > docs_preview_url.untracked.txt | ||
# echo "🌿 Preview your docs: $URL" > docs_preview_url.untracked.txt | ||
|
||
- name: Comment URL in PR | ||
uses: thollander/[email protected] | ||
with: | ||
filePath: docs_preview_url.untracked.txt | ||
# - name: Comment URL in PR | ||
# uses: thollander/[email protected] | ||
# with: | ||
# filePath: docs_preview_url.untracked.txt |
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 |
---|---|---|
|
@@ -115,6 +115,6 @@ docs/docs/reference/adapter | |
# Sentry Config File | ||
.sentryclirc | ||
|
||
# python | ||
# Python | ||
__pycache__/ | ||
.venv/ |
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
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
|
||
STACK_BASE_URL=http://host.docker.internal:8102 | ||
NEXT_PUBLIC_STACK_DASHBOARD_URL=http://host.docker.internal:8101 | ||
NEXT_PUBLIC_STACK_API_URL=http://host.docker.internal:8102 | ||
STACK_SERVER_SECRET=23-wuNpik0gIW4mruTz25rbIvhuuvZFrLOLtL7J4tyo | ||
|
||
# Postgres connection strings | ||
STACK_DATABASE_CONNECTION_STRING=postgres://stack:stack123@postgres:5432/stack | ||
STACK_DIRECT_DATABASE_CONNECTION_STRING=postgres://stack:stack123@postgres:5432/stack | ||
|
||
# optionally skip migrations on container startup | ||
STACK_SKIP_MIGRATIONS="false" | ||
STACK_RUN_MIGRATIONS="true" | ||
|
||
# run Prisma seed script on container startup | ||
STACK_RUN_SEED_SCRIPT="true" | ||
|
@@ -16,20 +17,22 @@ STACK_RUN_SEED_SCRIPT="true" | |
# Optionally create a default admin user and disable signups to the platform when the seed script is run. | ||
# This can be useful for self hosted deployments where you want to restrict access to the Stack "internal" project. | ||
# If not specified, no user will be created and you will have to create the first user manually by signing up. | ||
# [email protected] | ||
# STACK_DEFAULT_ADMIN_PASSWORD=admin123 | ||
# STACK_DEFAULT_ADMIN_DISPLAY_NAME=Admin | ||
[email protected] | ||
STACK_SEED_USER_PASSWORD=admin123 | ||
STACK_SEED_ADMIN_DISPLAY_NAME=Admin | ||
STACK_SEED_SIGN_UP_ENABLED=true | ||
STACK_SEED_OTP_ENABLED=true | ||
STACK_SEED_ALLOW_LOCALHOST=true | ||
STACK_SEED_OAUTH_PROVIDERS=google,microsoft | ||
STACK_SEED_CLIENT_TEAM_CREATION=false | ||
|
||
# Override the name and description of the "internal" Stack project used for the main dashboard. | ||
# STACK_DEFAULT_INTERNAL_PROJECT_NAME="Internal" | ||
# STACK_DEFAULT_INTERNAL_PROJECT_DESCRIPTION="Internal project for self-hosted deployments" | ||
# STACK_SEED_INTERNAL_PROJECT_NAME="Internal" | ||
# STACK_SEED_INTERNAL_PROJECT_DESCRIPTION="Internal project for self-hosted deployments" | ||
|
||
# Set the name of your default app project. | ||
# SELF_HOST_DEFAULT_PROJECT_NAME="My App" | ||
|
||
# Sign up options | ||
# STACK_SIGN_UP_DISABLED=true | ||
|
||
STACK_EMAIL_HOST=inbucket | ||
STACK_EMAIL_PORT=2500 | ||
STACK_EMAIL_SECURE=false | ||
|
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
Oops, something went wrong.