Skip to content

Instantly share code, notes, and snippets.

@benclarkk
Last active October 14, 2019 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benclarkk/eb53cde442ea81fee045621101859c56 to your computer and use it in GitHub Desktop.
Save benclarkk/eb53cde442ea81fee045621101859c56 to your computer and use it in GitHub Desktop.
GNU nano 2.9.3 .env
# 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=[[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=[[REDACTED]]
DISCORD_CLIENT_SECRET=[[REDACTED]]
DISCORD_CALLBACK_URL=http://[[REDACTED]]:3000/auth/discord
# This should be a list of comma-separated (not space) Oauth2 Redirect URLs
DISCORD_OAUTH_ORIGINS="http://[[REDACTED]]/auth/discord", "http://[[REDACTED]]:4000/auth/discord"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment