-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
35 lines (26 loc) · 1.06 KB
/
Copy path.env.example
File metadata and controls
35 lines (26 loc) · 1.06 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
# Copy this file to `.env` and fill in your values.
# $ cp .env.example .env
# `.env` is loaded automatically by the app (dotenvy) and by docker-compose.
# Server port
PORT=3000
# PostgreSQL connection URL
TEAM_DATABASE_URL=postgres://root:@localhost:5432/team
# Public origin of this app (used for redirects and generated URLs)
TEAM_DOMAIN=http://localhost:3000
# Slack incoming webhook — all activity (posts, nippo, comments, gists,
# tweets, tag updates) is notified here (optional)
TEAM_SLACK_WEBHOOK_URL=
# Google OAuth (optional — leave empty to use username/password only)
TEAM_GOOGLE_CLIENT_ID=
TEAM_GOOGLE_CLIENT_SECRET=
TEAM_GOOGLE_REDIRECT_URL=http://localhost:3000/auth/google
# Restrict Google sign-in to this email domain (optional)
TEAM_GOOGLE_ALLOW_DOMAIN=
# Header menu items and their order
TEAM_MENU=post,nippo,gist,tweet,tag
# Default theme: light | black
TEAM_THEME=light
# Secret used to sign session cookies — set a long random string
TEAM_SECRET_COOKIE=change-me-to-a-long-random-string
# Rust backtraces on error (optional)
RUST_BACKTRACE=1