⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
Changed API port from 5000 to 5500 + Small README change.
Daniel31x1303ba5ad7e32d
diff --git a/api/Dockerfile b/api/Dockerfileindex e949dffa..1c9a7438 100644--- a/api/Dockerfile+++ b/api/Dockerfile@@ -25,5 +25,5 @@ RUN chown -R node:node /home/node /mediaUSER node-EXPOSE 5000+EXPOSE 5500CMD node server.jsdiff --git a/api/config.js b/api/config.jsindex b44faf34..056c0e77 100644--- a/api/config.js+++ b/api/config.js@@ -1,4 +1,4 @@-module.exports.port = process.env.PORT || 5000;+module.exports.port = process.env.PORT || 5500;module.exports.URI = process.env.MONGODB_URI || "mongodb://localhost:27017"; // URImodule.exports.database = process.env.DB_NAME || "sample_db"; // Database namemodule.exports.collection = process.env.COLLECTION_NAME || "list"; // Collection namediff --git a/docker-compose.yml b/docker-compose.ymlindex fec9548e..21f0dec4 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -19,7 +19,7 @@ services:volumes:- ./api:/home/nodeports:- - 5000:5000+ - 5500:5500restart: unless-stoppeddepends_on:- mongo@@ -28,7 +28,7 @@ services:build: .environment:# - DANGEROUSLY_DISABLE_HOST_CHECK=true- - REACT_APP_API_HOST=http://localhost:5000+ - REACT_APP_API_HOST=http://localhost:5500command: npm run govolumes:- /home/node/node_modulesdiff --git a/src/config.js b/src/config.jsindex acbb2bc2..a893fefb 100644--- a/src/config.js+++ b/src/config.js@@ -1 +1 @@-export const API_HOST = process.env.REACT_APP_API_HOST || "http://localhost:5000"; // API full address+export const API_HOST = process.env.REACT_APP_API_HOST || "http://localhost:5500"; // API full address