Created
October 15, 2019 18:51
-
-
Save benclarkk/ba602a40abf25e4dc7f28a481fee0532 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The environment the app is running in, either production, staging or development | |
NODE_ENV=development | |
# The JWT key used to encrypt/decrypt tokens used for user authentication | |
JWT_KEY=it's a secret | |
# The base REST endpoint that is used to talk to @cryb/portals | |
PORTALS_API_URL="http://localhost:1337" | |
# This should the same secure key in @cryb/portals/.env under 'API_KEY' | |
PORTALS_API_KEY=secret | |
# This should the same secure key in @cryb/aperture/.env under 'APERTURE_WS_KEY' | |
APERTURE_WS_KEY=api-aperture-key | |
# The URI used for connecting to the MongoDB database | |
MONGO_URI="mongodb://localhost:27017/cryb" | |
# The URI used for connecting to the redis-ha sentinel instance | |
# If left blank or undefined, @cryb/api will automatically connect to redis://localhost:6379 | |
REDIS_URI= | |
# The Discord Developer Application credentials. | |
DISCORD_CLIENT_ID=my client id | |
DISCORD_CLIENT_SECRET=it's a secret | |
DISCORD_CALLBACK_URL=http://ip:3000/auth/discord | |
# This should be a list of comma-separated (not space) Oauth2 Redirect URLs | |
DISCORD_OAUTH_ORIGINS="http://ip:3000/auth/discord","http://ip:4000/auth/discord","http://ip:3000","http://ip/auth/discord" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment