-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathexample.env
More file actions
53 lines (44 loc) · 2.3 KB
/
Copy pathexample.env
File metadata and controls
53 lines (44 loc) · 2.3 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
#### You WILL need this for local development.
# If you used `docker compose up -d db`, you don't need to change this.
DATABASE_URL=postgresql://postgres:pass@db:5432/stardance_development
# Generate one via `openssl rand -hex 64`.
SECRET_KEY_BASE=91a016c2f22f34fcc57179e7f50fb74c4d7642f61be81b5044b544a008b67e1ce421cb0b7a357d62e262ac969654b9e71d98b32e5ca162072032a86720892ecc
# In your Docker container, run `rails console`, then `Lockbox.generate_key` to generate one.
LOCKBOX_MASTER_KEY=7a5899bf15772d40bbba24d44886919ee83b2d62f59654552255890cb0065574
# Generate one via `rails secret`.
MASTER_KEY=232482e43af224857b1fc54028247290c62876af69a6d9c7782318fa66972be7697019f5e6985d3798fc3afeb1aac4a16d6590d194b3cc85636c2428a3c698a5
#### You'll probably won't need this for local development.
LOOPS_API_KEY=replaceme
GROK_API_KEY=replaceme
OPENAI_API_KEY=replaceme
SLACK_CLIENT_ID=replaceme
SLACK_CLIENT_SECRET=replaceme
SLACK_REDIRECT_URI=replaceme
SLACK_BOT_TOKEN=replaceme
# Set to 1 to let AddUserToOutpostChannelJob actually call Slack in development
OUTPOST_SLACK_IN_DEV=
SWAI_KEY=replaceme
# Lookout screen-recording time tracker (hardware projects). Without a valid key
# the "Record a timelapse" / "Record your screen" buttons can't start a session
# (the API returns 503). Get a key from the Lookout team. Point LOOKOUT_BASE_URL
# at a staging instance if needed. NOTE: these are read at boot — restart after
# changing them.
LOOKOUT_API_KEY=replaceme
LOOKOUT_BASE_URL=https://lookout.hackclub.com
# External review dashboard (dash.shipwrights.dev). Drives the bidirectional
# webhook integration: outbound ship ingest + outbound cert return + inbound
# decision webhook.
#
# The first three are credentials for OUTBOUND calls from Stardance → dash
# (ingest, return, backfill). They're sent as x-api-key / x-workplace-id headers.
EXTERNAL_DASHBOARD_API_KEY=replaceme
EXTERNAL_DASHBOARD_WORKPLACE_ID=replaceme
EXTERNAL_DASHBOARD_BASE_URL=https://dash.shipwrights.dev
#
# Shared HMAC-SHA256 secret used to verify INBOUND decision webhooks at
# POST /api/v1/certification_decisions. Paste the same value into the dashboard's
# webhook secret field. Without this set, the inbound endpoint fail-closes on 401.
EXTERNAL_REVIEW_SECRET=replaceme
# You'll probably won't have to change this...
RAILS_ENV=development
ENVIRONMENT=development