- Expanded schedule options for recurring tasks, including new intervals for every X days, weeks, and months. - Added future task creation logic to ensure tasks are created within defined limits based on their schedule type. - Updated user guide to reflect new scheduling options and future task creation details. - Improved backend logic for recurring task creation, including batch processing and future limit calculations. - Added environment configuration for enabling recurring jobs. - Enhanced frontend localization for recurring task configuration labels.
85 lines
1.9 KiB
Plaintext
85 lines
1.9 KiB
Plaintext
# Server
|
|
NODE_ENV=development
|
|
PORT=3000
|
|
SESSION_NAME=worklenz.sid
|
|
SESSION_SECRET="your_session_secret"
|
|
COOKIE_SECRET="your_cookie_secret"
|
|
|
|
# CORS
|
|
SOCKET_IO_CORS=http://localhost:5000
|
|
SERVER_CORS=*
|
|
|
|
# Database
|
|
DB_USER=postgres
|
|
DB_PASSWORD=your_db_password
|
|
DB_NAME=worklenz_db
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_MAX_CLIENTS=50
|
|
|
|
# Google Login
|
|
GOOGLE_CLIENT_ID="your_google_client_id"
|
|
GOOGLE_CLIENT_SECRET="your_google_client_secret"
|
|
GOOGLE_CALLBACK_URL="http://localhost:5000/secure/google/verify"
|
|
LOGIN_FAILURE_REDIRECT="http://localhost:5000/auth/authenticating"
|
|
LOGIN_SUCCESS_REDIRECT="http://localhost:5000/auth/authenticating"
|
|
|
|
# CLI
|
|
ANGULAR_DIST_DIR="path/to/frontend/dist"
|
|
ANGULAR_SRC_DIR="path/to/frontend"
|
|
BACKEND_PUBLIC_DIR="path/to/backend/public"
|
|
BACKEND_VIEWS_DIR="path/to/backend/views"
|
|
COMMIT_BUILD_IMMEDIATELY=false
|
|
|
|
# HOST
|
|
HOSTNAME=localhost:5000
|
|
|
|
# SLACK
|
|
SLACK_WEBHOOK=your_slack_webhook_url
|
|
USE_PG_NATIVE=false
|
|
|
|
# JWT SECRET
|
|
JWT_SECRET=your_jwt_secret
|
|
|
|
# FRONTEND_URL
|
|
FRONTEND_URL=http://localhost:5000
|
|
|
|
# STORAGE
|
|
STORAGE_PROVIDER=s3 # values s3 or azure
|
|
|
|
# AWS - SES
|
|
AWS_REGION="your_aws_region"
|
|
AWS_ACCESS_KEY_ID="your_aws_access_key_id"
|
|
AWS_SECRET_ACCESS_KEY="your_aws_secret_access_key"
|
|
|
|
# S3
|
|
S3_REGION="S3_REGION"
|
|
S3_BUCKET="your_s3_bucket"
|
|
S3_URL="your_s3_url"
|
|
S3_ACCESS_KEY_ID="S3_ACCESS_KEY_ID"
|
|
S3_SECRET_ACCESS_KEY="S3_SECRET_ACCESS_KEY"
|
|
|
|
# Azure Storage
|
|
AZURE_STORAGE_ACCOUNT_NAME="your_storage_account_name"
|
|
AZURE_STORAGE_CONTAINER="your_storage_container"
|
|
AZURE_STORAGE_ACCOUNT_KEY="your_storage_account_key"
|
|
AZURE_STORAGE_URL="your_storage_url"
|
|
|
|
# DIRECTPAY
|
|
DP_STAGE=DEV
|
|
DP_URL=your_url
|
|
DP_MERCHANT_ID=your_merchant_id
|
|
DP_SECRET_KEY=your_secret_key
|
|
DP_API_KEY=your_api_key
|
|
|
|
CONTACT_US_EMAIL=support@example.com
|
|
|
|
GOOGLE_CAPTCHA_SECRET_KEY=your_captcha_secret_key
|
|
GOOGLE_CAPTCHA_PASS_SCORE=0.8
|
|
|
|
# Email Cronjobs
|
|
ENABLE_EMAIL_CRONJOBS=true
|
|
|
|
# RECURRING_JOBS
|
|
ENABLE_RECURRING_JOBS=true
|
|
RECURRING_JOBS_INTERVAL="0 11 */1 * 1-5" |