// Default
process.env.HTTP_PORT = process.env.HTTP_PORT || 3000
process.env.REDIS_SESSION_URI = process.env.REDIS_SESSION_URI || `redis://redis`
process.env.MONGODB_URI = process.env.MONGODB_URI || `mongodb://mongo/graphql`
process.env.EXPRESS_SESSION_SECRET = process.env.EXPRESS_SESSION_SECRET || 'foo'

require('dotenv').config()
require("./server")()
// Default
require('dotenv').config()
process.env.HTTP_PORT = process.env.HTTP_PORT || 3000
process.env.REDIS_SESSION_URI = process.env.REDIS_SESSION_URI || `redis://redis`
process.env.MONGODB_URI = process.env.MONGODB_URI || `mongodb://mongo/graphql`
process.env.EXPRESS_SESSION_SECRET = process.env.EXPRESS_SESSION_SECRET || 'foo'
require("./server")()
Correct default dotenv