Dockerize the app

This commit is contained in:
Gardner Bickford
2022-06-18 13:18:48 +12:00
parent 17a27a138b
commit a9c051b743
17 changed files with 224 additions and 53 deletions
+1 -12
View File
@@ -1,12 +1 @@
// Note: the formatting are really sensitive so for example DO NOT end
// the "STORAGE_LOCATION" path with an extra slash "/" (i.e. "/home/")
module.exports = {
API: {
ADDRESS: "http://192.168.1.7", // IP address of the computer which LinkWarden is running
PORT: 5000, // The api port
MONGODB_URI: "mongodb://localhost:27017", // MongoDB link
DB_NAME: "sample_db", // MongoDB database name
COLLECTION_NAME: "list", // MongoDB collection name
STORAGE_LOCATION: "/home/danny/Documents", // The path to store the archived data
},
};
export const API_HOST = process.env.REACT_APP_API_HOST || "";