# SnapCAD / YakNet cloud configuration. # Copy this file to .env and fill in real values. Never commit .env. YAKNET_DB_HOST='127.0.0.1' YAKNET_DB_PORT='3306' YAKNET_DB_NAME='yaknet_auth' YAKNET_DB_USER='root' YAKNET_DB_PASS='replace-with-your-database-password' # Run `php database/migrate.php` once to create/update the schema. # Leave this false; true is only for one-off automatic schema setup. SNAPCAD_AUTO_MIGRATE='false' YAKNET_AUTH_BASE_URL='https://developer-console.yakhub.com.tr' YAKNET_CDN_ACCOUNT_JS='https://cdnjs.yakhub.com.tr/ajax/libs/yaknet-account/latest/yaknet-account.js' SNAPCAD_CANONICAL_URL='https://snap.yakhub.com.tr' SNAPCAD_CALLBACK_URL='https://snap.yakhub.com.tr/callback.php' YAKNET_CLIENT_ID='replace-with-oauth-client-id' YAKNET_CLIENT_SECRET='replace-with-oauth-client-secret' # Space or comma separated OAuth scopes. Defaults to '*'. YAKNET_OAUTH_SCOPE='*' # Keep true in production. Set false only for a local development certificate issue. YAKNET_OAUTH_VERIFY='true' # Origins allowed to send state-changing requests. SNAPCAD_ALLOWED_ORIGINS='https://snap.yakhub.com.tr,http://localhost,http://127.0.0.1' # Request and storage limits. SNAPCAD_MAX_BODY_BYTES='8388608' SNAPCAD_MAX_PROJECT_BYTES='4194304' SNAPCAD_MAX_PROJECTS_PER_USER='200' SNAPCAD_MAX_STORAGE_BYTES_PER_USER='104857600' # Client-supplied SSO payloads are never trusted. Use OAuth callback or a verified token. SNAPCAD_ENABLE_CLIENT_SSO_SYNC='false'