Files
snapcad-studio/.env.example
T
Enes Yakıştır ee28672e23
Build and Push Docker Images / build (push) Canceled after 0s
Desktop Release / Build linux desktop (push) Canceled after 0s
Desktop Release / Build windows desktop (push) Canceled after 0s
Desktop Release / Attach packages to release (push) Canceled after 0s
Desktop Release / Build macos desktop (push) Canceled after 0s
CI / Typecheck and unit tests (push) Canceled after 0s
release: SnapCAD Studio 1.0.10 (desktop menuler, macOS kisayollari, YakNet SSO)
2026-11-12 10:12:35 +03:00

40 lines
1.6 KiB
Bash

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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'
# Masaüstü uygulaması (SnapCAD.exe) oturum token geçerlilik süresi (gün). Aktif kullanımda otomatik uzar.
SNAPCAD_DESKTOP_TOKEN_TTL_DAYS='180'