Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
80 lines (71 loc) · 3.25 KB
/
Copy path.env.example
File metadata and controls
80 lines (71 loc) · 3.25 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
# ========================================
# APPLICATION PORT
# ========================================
PORT=3000
# ========================================
# POSTGRESQL DATABASE
# ========================================
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/engagements"
# ========================================
# AUTHENTICATION
# ========================================
AUTH_SECRET="your-local-dev-secret-key-placeholder"
VALID_ISSUERS='["https://api.topcoder-dev.com"]'
# ========================================
# EXTERNAL SERVICES
# ========================================
TOPCODER_API_URL_BASE=https://api.topcoder-dev.com
# Derived endpoints:
# - TC_PROJECT_SERVICE_URL: ${TOPCODER_API_URL_BASE}/v6/projects
# - STANDARDIZED_SKILLS_API_URL: ${TOPCODER_API_URL_BASE}/v5/standardized-skills
# - MEMBER_API_V6_URL: ${TOPCODER_API_URL_BASE}/v6/members
# - Finance API: ${TOPCODER_API_URL_BASE}/v6/finance (override with FINANCE_API_URL). Read with the
# M2M credentials below, which need the read:payments scope, for timesheet hours left.
# PLATFORM UI BASE URL (used to generate anonymous feedback links)
PLATFORM_UI_BASE_URL=http://localhost:3001
# In production use https://platform.topcoder.com or https://platform.topcoder-dev.com
# ========================================
# FLEXI TALENT
# ========================================
# Comma-separated Work project IDs excluded from Flexi Talent responses.
FLEXI_TALENT_IGNORED_PROJECT_IDS=38965,1001006,1000636,37220,34654,1001120
# ========================================
# TIMESHEETS
# ========================================
# Comma-separated Work project IDs (e.g. test projects) excluded from the timesheet landing list.
TIMESHEET_IGNORED_PROJECT_IDS=
# ========================================
# TEST PROJECTS
# ========================================
# Comma-separated Work project IDs the Work App hides when "Hide test projects" is checked
# (excludeTestProjects=true on GET /engagements and GET /timesheets/approved).
TEST_PROJECT_IDS=
# ========================================
# EVENT BUS
# ========================================
BUS_API_URL=https://api.topcoder-dev.com/eventBus
KAFKA_ERROR_TOPIC=common.error.reporting
# ========================================
# EMAIL
# ========================================
SENDGRID_ASSIGNMENT_OFFER_TEMPLATE_ID=
SENDGRID_ENGAGEMENT_ASSIGNMENT_UPDATED_TEMPLATE_ID=
SENDGRID_ASSIGNMENT_OFFER_ACCEPTED_TEMPLATE_ID=
SENDGRID_ASSIGNMENT_OFFER_REJECTED_TEMPLATE_ID=
# SendGrid template for notifying applicants their application is under review.
SENDGRID_UNDER_REVIEW_TEMPLATE_ID=
# SendGrid template for notifying applicants their application was not selected.
SENDGRID_REJECTED_TEMPLATE_ID=
# Timesheet workflow emails. Each one is disabled while its template ID is empty.
SENDGRID_TIMESHEET_SUBMITTED_TEMPLATE_ID=
SENDGRID_TIMESHEET_RESUBMISSION_REQUIRED_TEMPLATE_ID=
SENDGRID_TIMESHEET_APPROVED_TEMPLATE_ID=
SENDGRID_TIMESHEET_ADMIN_CHANGED_TEMPLATE_ID=
SENDGRID_ENGAGEMENT_MANAGER_ASSIGNED_TEMPLATE_ID=
# ========================================
# M2M AUTHENTICATION
# ========================================
AUTH0_URL=https://topcoder-dev.auth0.com/oauth/token
M2M_CLIENT_ID=your_client_id
M2M_CLIENT_SECRET=your_client_secret
AUTH0_AUDIENCE=https://api.topcoder-dev.com