Environment Variables - ah450/guclink-auth-service GitHub Wiki
Environment variables that need to be set
KEY | DESCRIPTION | APPLICABLE ENVIRONMENT |
---|---|---|
SECRET_KEY_BASE | Rails secret key for cookie signing | production |
JWT_KEY | HMAC key for JWT encoding | Always applicable, but must set in production |
DB_NAME | PG database name | production |
DB_USER | PG username | production |
DB_HOST | PG address | Production |
DB_PORT | PG port | Production |
DB_PASSWORD | PG username password | production |
VERIFICATION_TOKEN_STR_MAX_LENGTH | Max length of the email verification token (used in query param) default is 30 | All |
EMAIL_SERVER_ADDRESS | SMTP server address | ALL |
EMAIL_SERVER_PORT | SMTP server port | ALL |
REDIS_HOST | Redis server address | ALL |
REDIS_PORT | Redis server port | ALL |
REDIS_PASSWORD | Redis auth token | Production |
TRAVIS | If defined, signals that the application is running in travis CI environment. | Always applicable, stupid to set in production |