Co-authored-by: dbroqua <contact@darkou.fr> Reviewed-on: https://git.darkou.fr/dbroqua/MusicTopus/pulls/24 Co-authored-by: Damien Broqua <dbroqua@noreply.localhost> Co-committed-by: Damien Broqua <dbroqua@noreply.localhost>
This commit is contained in:
parent
7f526eefee
commit
cf63d8b6d8
28 changed files with 687 additions and 104 deletions
|
@ -9,7 +9,7 @@ import http from "http";
|
|||
import app from "../app";
|
||||
import { port } from "../config";
|
||||
|
||||
const debug = debugLib("mymusiclibrary:server");
|
||||
const debug = debugLib("musictopus:server");
|
||||
const server = http.createServer(app);
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
module.exports = {
|
||||
nodeEnv: process.env.NODE_ENV || "development",
|
||||
port: parseInt(process.env.PORT || "3001", 10),
|
||||
mongoDbUri:
|
||||
process.env.MONGODB_URI || "mongodb://mymusiclibrary-db/mymusiclibrary",
|
||||
mongoDbUri: process.env.MONGODB_URI || "mongodb://musictopus-db/musictopus",
|
||||
secret: process.env.SECRET || "waemaeMe5ahc6ce1chaeKohKa6Io8Eik",
|
||||
discogsToken: process.env.DISCOGS_TOKEN,
|
||||
formspreeId: process.env.FORMSPREE_ID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue