2019-06-21 22:01:34 +00:00
|
|
|
const server_config = {
|
|
|
|
|
|
|
|
port: process.env.SERVER_PORT || 80,
|
|
|
|
environment: process.env.ENVIRONMENT || "production",
|
|
|
|
logging: {
|
|
|
|
level: process.env.LOGGING_LEVEL || 1
|
|
|
|
},
|
|
|
|
session: {
|
|
|
|
secret: process.env.SECRET || "changeme"
|
|
|
|
},
|
|
|
|
uploads: {
|
|
|
|
destination: './uploads'
|
2019-06-24 16:45:22 +00:00
|
|
|
},
|
|
|
|
url: process.env.SERVER_URL || "localhost",
|
2019-06-21 22:01:34 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = server_config
|