### APP ### APP_PORT=3000 METRICS_PORT=3001 ### API ### # Possible values: max (start instances on all cores), number (start instances on number of cores), -1 (start instances on all cores - 1) # !!! Do not set this value more than physical cores count in your machine !!! # Review documentation: https://aura.zorin.space/docs/install/environment-variables#scaling-api API_INSTANCES=1 ### DATABASE ### # FORMAT: postgresql://{user}:{password}@{host}:{port}/{database} DATABASE_URL="postgresql://postgres:postgres@aura-db:5432/postgres" ### REDIS ### REDIS_HOST=aura-redis REDIS_PORT=6379 ### JWT ### ### CHANGE DEFAULT VALUES ### JWT_AUTH_SECRET=change_me JWT_API_TOKENS_SECRET=change_me ### TELEGRAM NOTIFICATIONS ### IS_TELEGRAM_NOTIFICATIONS_ENABLED=false TELEGRAM_BOT_TOKEN=change_me TELEGRAM_NOTIFY_USERS_CHAT_ID=change_me TELEGRAM_NOTIFY_NODES_CHAT_ID=change_me ### Telegram Oauth (Login with Telegram) ### true/false TELEGRAM_OAUTH_ENABLED=false ### Array of Admin Chat Ids. These ids will be allowed to login. TELEGRAM_OAUTH_ADMIN_IDS=[123, 321] # Optional # Only set if you want to use topics TELEGRAM_NOTIFY_USERS_THREAD_ID= TELEGRAM_NOTIFY_NODES_THREAD_ID= ### FRONT_END ### # Used by CORS, you can leave it as * or place your domain there FRONT_END_DOMAIN=* ### SUBSCRIPTION PUBLIC DOMAIN ### ### DOMAIN, WITHOUT HTTP/HTTPS, DO NOT ADD / AT THE END ### ### Used in "profile-web-page-url" response header and in UI/API ### ### Review documentation: https://aura.zorin.space/docs/install/environment-variables#domains SUB_PUBLIC_DOMAIN=panel.domain.com/api/sub ### If CUSTOM_SUB_PREFIX is set in @localzet/aura-subscriptions, append the same path to SUB_PUBLIC_DOMAIN. Example: SUB_PUBLIC_DOMAIN=sub-page.example.com/sub ### SWAGGER ### SWAGGER_PATH=/docs SCALAR_PATH=/scalar IS_DOCS_ENABLED=true ### PROMETHEUS ### ### Metrics are available at /api/metrics METRICS_USER=admin METRICS_PASS=admin ### WEBHOOK ### WEBHOOK_ENABLED=false ### Only https:// is allowed WEBHOOK_URL=https://webhook.site/1234567890 ### This secret is used to sign the webhook payload, must be exact 64 characters. Only a-z, 0-9, A-Z are allowed. WEBHOOK_SECRET_HEADER=vsmu67Kmg6R8FjIOF1WUY8LWBHie4scdEqrfsKmyf4IAf8dY3nFS0wwYHkhh6ZvQ ### HWID DEVICE DETECTION AND LIMITATION ### # Don't enable this if you don't know what you are doing. # Review documentation before enabling this feature. # https://aura.zorin.space/docs/features/hwid-device-limit/ HWID_DEVICE_LIMIT_ENABLED=false ### Bandwidth usage reached notifications BANDWIDTH_USAGE_NOTIFICATIONS_ENABLED=false # Only in ASC order (example: [60, 80]), must be valid array of integer(min: 25, max: 95) numbers. No more than 5 values. BANDWIDTH_USAGE_NOTIFICATIONS_THRESHOLD=[60, 80] ### CLOUDFLARE ### # USED ONLY FOR docker-compose-prod-with-cf.yml # NOT USED BY THE APP ITSELF CLOUDFLARE_TOKEN=ey... ### Database ### ### For Postgres Docker container ### # NOT USED BY THE APP ITSELF POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres POSTGRES_DB=aura-db