-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy path.env.example
More file actions
56 lines (42 loc) · 1.93 KB
/
Copy path.env.example
File metadata and controls
56 lines (42 loc) · 1.93 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
# Example environment variables
# Slack oauth used for slack signin + profile status feature
SLACK_CLIENT_ID=your_client_id_here
SLACK_CLIENT_SECRET=your_client_secret_here
SLACK_SIGNING_SECRET=your_signing_secret_here
SLACK_USER_OAUTH_TOKEN=your_user_oauth_token_here
# Sailors' log slack app for slack channel notifications
SAILORS_LOG_SLACK_SIGNING_SECRET=your_signing_secret_here
SLACK_SAILORS_LOG_BOT_OAUTH_TOKEN=your_bot_oauth_token_here
# You can leave this alone if you're using the provided docker setup!
DATABASE_URL=your_database_url_here
POOL_DATABASE_URL=pg_bouncer_url_here
# Secret key base
SECRET_KEY_BASE=your_secret_key_base_here
ENCRYPTION_PRIMARY_KEY=generate_a_key_and_put_it_here
ENCRYPTION_DETERMINISTIC_KEY=generate_another_key_here
ENCRYPTION_KEY_DERIVATION_SALT=generate_a_salt_and_put_it_here
# By default, you don't need these for local development, as we use letter_opener
SMTP_USER_NAME=replace_with_your_smtp_username
SMTP_PASSWORD=replace_with_your_smtp_password
SMTP_ADDRESS=replace_with_your_smtp_address
SMTP_PORT=replace_with_your_smtp_port
# Sentry DSN for error tracking
SENTRY_DSN=your_sentry_dsn_here
# GitHub oauth used for github signin
GITHUB_CLIENT_ID=your_github_client_id_here
GITHUB_CLIENT_SECRET=your_github_client_secret_here
SKYLIGHT_AUTHENTICATION=replace_me
# MaxMind GeoLite2 credentials (free signup at https://www.maxmind.com/)
MAXMIND_ACCOUNT_ID=your_maxmind_account_id_here
MAXMIND_LICENSE_KEY=your_maxmind_license_key_here
MAIL_HACKCLUB_TOKEN=replace_me
# Hack Club Account
HCA_CLIENT_ID=your_hackclub_account_client_id_here
HCA_CLIENT_SECRET=your_hackclub_account_secret_id_here
# S3/R2 creds for ActiveStorage
S3_ACCESS_KEY_ID=your_s3_access_key_id_here
S3_SECRET_ACCESS_KEY=your_s3_secret_access_key_here
S3_BUCKET=your_s3_bucket_name_here
S3_ENDPOINT=https://<ACCOUNT_ID>.r2.cloudflarestorage.com
# Key for Revoker (https://github.com/hackclub/revoker)
HKA_REVOCATION_KEY=your_hka_revocation_key_here