Files
Oleg Isonen 9845517029 fix: hydrate published Markdown assets (#6422)
Migrated from #6421 to the short .staging branch name.
2026-09-23 01:01:08 +02:00

93 lines
2.6 KiB
Bash

# To override environment variables, add a .env.development file in the same directory.
# For more details, visit: https://vitejs.dev/guide/env-and-mode#env-files
DATABASE_URL=postgresql://supabase_admin:pass@localhost:55432/webstudio?pgbouncer=true
DIRECT_URL=postgresql://supabase_admin:pass@localhost:55432/webstudio
PGPORT=55432
POSTGRES_DB=webstudio
POSTGRES_USER=supabase_admin
POSTGRES_PASSWORD=pass
AUTH_SECRET=0000
PORT=5176
# GH_CLIENT_SECRET=
# GH_CLIENT_ID=
DEV_LOGIN=true
POSTGREST_URL=http://localhost:55433
POSTGREST_PORT=55433
# Empty for the local PostgREST container.
POSTGREST_API_KEY=
# Optional max upload size in Mb
# MAX_UPLOAD_SIZE=10
# S3 envs
# S3_BUCKET=
# S3_REGION=
# S3_ACL="public-read"
# S3_ENDPOINT=
# S3_ACCESS_KEY_ID=
# S3_SECRET_ACCESS_KEY=
# Asset CDN origin used by published builds, without a trailing slash.
# Publisher config
# PUBLISHER_HOST=wstd.io
# PUBLISHER_ENDPOINT=https://publisher.webstudio.is
# PUBLISHER_TOKEN=
# Username and password displayed in wstd domain settings
# STAGING_USERNAME=admin
# STAGING_PASSWORD=webstudio
# Base origin for accessing user-generated build (canvas / preview / etc)
# Should contain protocol and host (e.g. https://example.com)
# Will be detected automatically in development environments like localhost or preview deployment
# BUILD_ORIGIN=https://wstd.live
# If set to `true`, user-generated build will be available
# only at {project.domain} subdomain of {BUILD_ORIGIN}.
# This is used in production deployment for security reasons.
# BUILD_REQUIRE_SUBDOMAIN=
# Enable features behind a flag, * enables all.
FEATURE_FLAGS=*
# Plan definitions. JSON array of {name, extends?, features} objects.
# extends: inherit all features from a named parent plan, then override.
# Multiple active plans are merged (booleans: OR, numbers: max).
# Schema: packages/trpc-interface/src/shared/plan-features.ts
PLANS='[
{
"name": "Pro",
"features": {
"canDownloadAssets": true,
"canRestoreBackups": true,
"allowAdditionalPermissions": true,
"allowDynamicData": true,
"allowAuth": true,
"allowContentMode": true,
"allowStagingPublish": true,
"maxContactEmailsPerProject": 5,
"maxDomainsAllowedPerUser": 200,
"maxDailyPublishesPerUser": 100,
"maxProjectsAllowedPerUser": 300,
"maxAssetsPerProject": 350
}
},
{
"name": "Team",
"extends": "Pro",
"features": {
"maxWorkspaces": 20,
"seatsIncluded": 4,
"maxSeatsPerWorkspace": 20
}
}
]'
# TRCP server url and API token. If empty local TRPC server is used
# TRPC_SERVER_URL=
TRPC_SERVER_API_TOKEN=e2e-service-token