-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
85 lines (74 loc) · 2.89 KB
/
.env.example
File metadata and controls
85 lines (74 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# PostgreSQL Database URL for Prisma
DATABASE_URL="postgresql://user:password@localhost:5432/project_service?schema=public"
# JWT Authentication (from tc-core-library-js)
AUTH_SECRET="mysecret"
VALID_ISSUERS='["https://topcoder-dev.auth0.com/","https://api.topcoder.com"]'
# M2M Authentication
AUTH0_URL="https://topcoder-dev.auth0.com/oauth/token"
AUTH0_AUDIENCE="https://m2m.topcoder-dev.com/"
AUTH0_PROXY_SERVER_URL="https://auth0proxy.topcoder-dev.com"
AUTH0_CLIENT_ID=""
AUTH0_CLIENT_SECRET=""
# Bus API client configuration (via tc-bus-api-wrapper)
# KAFKA_URL is retained only for compatibility with shared env packs;
# current wrapper initialization does not use it.
KAFKA_URL="localhost:9092"
KAFKA_ERROR_TOPIC="common.error.reporting"
KAFKA_CLIENT_CERT=""
KAFKA_CLIENT_CERT_KEY=""
BUSAPI_URL="https://api.topcoder-dev.com/v5"
# Project event topics
KAFKA_PROJECT_CREATED_TOPIC="project.created"
KAFKA_PROJECT_UPDATED_TOPIC="project.updated"
KAFKA_PROJECT_BILLING_ACCOUNT_UPDATED_TOPIC="project.action.billingAccount.update"
KAFKA_PROJECT_DELETED_TOPIC="project.deleted"
KAFKA_PROJECT_MEMBER_ADDED_TOPIC="project.member.added"
KAFKA_PROJECT_MEMBER_REMOVED_TOPIC="project.member.removed"
# Attachment and phase-product configuration
ATTACHMENTS_S3_BUCKET="topcoder-dev-media"
PROJECT_ATTACHMENT_PATH_PREFIX="projects"
PRESIGNED_URL_EXPIRATION=3600
MAX_PHASE_PRODUCT_COUNT=20
ENABLE_FILE_UPLOAD=true
# External services
MEMBER_API_URL=""
IDENTITY_API_URL=""
# Salesforce Billing Account integration
SALESFORCE_CLIENT_ID=""
SALESFORCE_CLIENT_AUDIENCE="https://login.salesforce.com"
# Legacy alias used in tc-project-service config mapping:
# SALESFORCE_AUDIENCE can be used instead of SALESFORCE_CLIENT_AUDIENCE.
SALESFORCE_SUBJECT=""
SALESFORCE_CLIENT_KEY=""
SALESFORCE_LOGIN_BASE_URL="https://login.salesforce.com"
SALESFORCE_API_VERSION="v37.0"
SFDC_BILLING_ACCOUNT_NAME_FIELD="Billing_Account_name__c"
SFDC_BILLING_ACCOUNT_MARKUP_FIELD="Mark_Up__c"
SFDC_BILLING_ACCOUNT_ACTIVE_FIELD="Active__c"
# Invite notification templates and links
INVITE_EMAIL_SUBJECT=""
INVITE_EMAIL_SECTION_TITLE=""
COPILOT_PORTAL_URL=""
WORK_MANAGER_URL=""
ACCOUNTS_APP_URL=""
# Dedicated project-invite templates:
# - known user (Join/Decline flow): SENDGRID_PROJECT_INVITATION_KNOWN_USER_TEMPLATE_ID
# - unknown email (Register flow): SENDGRID_PROJECT_INVITATION_UNKNOWN_USER_TEMPLATE_ID
# Legacy fallback for both invite types:
SENDGRID_TEMPLATE_PROJECT_MEMBER_INVITED=""
SENDGRID_PROJECT_INVITATION_KNOWN_USER_TEMPLATE_ID=""
SENDGRID_PROJECT_INVITATION_UNKNOWN_USER_TEMPLATE_ID=""
SENDGRID_TEMPLATE_COPILOT_ALREADY_PART_OF_PROJECT=""
SENDGRID_TEMPLATE_INFORM_PM_COPILOT_APPLICATION_ACCEPTED=""
SENDGRID_TEMPLATE_COPILOT_REQUEST_CREATED=""
COPILOTS_SLACK_EMAIL=""
UNIQUE_GMAIL_VALIDATION=false
# API Configuration
PORT=3000
API_PREFIX=v6
HEALTH_CHECK_TIMEOUT=60000
PROJECT_SERVICE_PRISMA_TIMEOUT=10000
# CORS
CORS_ALLOWED_ORIGIN=""
# Logging
NODE_ENV=development