-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.docker.example
More file actions
28 lines (22 loc) · 987 Bytes
/
Copy path.env.docker.example
File metadata and controls
28 lines (22 loc) · 987 Bytes
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
# Copy this to .env.docker and fill in values
# Only difference from .env.local: DATABASE_URL points to postgres service, not localhost
# and EXEC_TMP_DIR is set for the shared Docker volume
DATABASE_URL="postgresql://codeftc:codeftc_dev@postgres:5432/codeftc"
AUTH_SECRET="generate-with: openssl rand -base64 32"
AUTH_TRUST_HOST=true
NEXTAUTH_URL="http://localhost:3000"
ADMIN_EMAILS=""
# GitHub OAuth — https://github.com/settings/developers
# Callback URL: http://localhost:3000/api/auth/callback/github
GITHUB_ID=""
GITHUB_SECRET=""
# Google OAuth — https://console.cloud.google.com/apis/credentials
# Callback URL: http://localhost:3000/api/auth/callback/google
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# Discord OAuth — https://discord.com/developers/applications
# Callback URL: http://localhost:3000/api/auth/callback/discord
DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
# Exec temp dir — must match docker-compose volume mount
EXEC_TMP_DIR="/tmp/codeftc-exec"