# 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://postgres:pass@localhost:55432/webstudio?pgbouncer=true DIRECT_URL=postgresql://postgres:pass@localhost:55432/webstudio PGPORT=55432 POSTGRES_DB=webstudio POSTGRES_USER=postgres 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= # if using r2 this your worker url # ASSET_CDN_URL=https://assets.webstudio.is # 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