-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-example
41 lines (41 loc) · 1.24 KB
/
.env-example
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
# Web framework config
# GIN_MODE=release
GIN_MODE=debug
SERVER_URI_SCHEMA=http://
SERVER_HOST=localhost
SERVER_PORT=7777
SERVER_PATH_VERSION=v1
# GQLGen config
GQL_SERVER_GRAPHQL_PATH=/graphql
GQL_SERVER_GRAPHQL_PLAYGROUND_PATH=/playground
GQL_SERVER_GRAPHQL_PLAYGROUND_ENABLED=true
# GORM config
GORM_AUTOMIGRATE=true
GORM_SEED_DB=true
GORM_LOGMODE=true
GORM_DIALECT=postgres
GORM_CONNECTION_DSN=postgres://admin:password@localhost:5433/gqlgen-api-starter
# Auth config (Goth, JWT, etc)
SESSION_SECRET={supersecret}
AUTH_API_KEY_HEADER=x-api-key
AUTH_JWT_SECRET={JWTsecret}
AUTH_JWT_SIGNING_ALGORITHM=HS512
# Google Config
PROVIDER_GOOGLE_KEY={yourappkey.apps.googleusercontent.com}
PROVIDER_GOOGLE_SECRET={googlesecret}
PROVIDER_GOOGLE_SCOPES=email,profile,openid
# Auth0 Config
PROVIDER_AUTH0_KEY=
PROVIDER_AUTH0_SECRET=
PROVIDER_AUTH0_DOMAIN=
PROVIDER_AUTH0_SCOPES=email,profile,openid
# Facebook Config
PROVIDER_FACEBOOK_KEY={your.facebook.appkey}
PROVIDER_FACEBOOK_SECRET={your.facebook.app.secret}
# Google Config
PROVIDER_GOOGLE_KEY={yourappkey.apps.googleusercontent.com}
PROVIDER_GOOGLE_SECRET={googlesecret}
PROVIDER_GOOGLE_SCOPES=email,profile,openid
# Twitter Config
PROVIDER_TWITTER_KEY={your.twitter.appkey}
PROVIDER_TWITTER_SECRET={your.twitter.app.secret}