Updated the backend docker compose file and also added dockercompose for mongo and mongo express
This commit is contained in:
@@ -14,6 +14,12 @@ RUN npm install --save-dev @types/cors
|
||||
|
||||
COPY . .
|
||||
|
||||
USER root
|
||||
|
||||
RUN chown -R node:node /app
|
||||
|
||||
USER node
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm","start"]
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
MONGO_URI=mongodb://jutsujen:f%40!ry-T%40!l@118.67.213.117:27017/navigatorDB?authSource=admin
|
||||
MONGO_URI=mongodb://jutsujen:fa!ry-Ta!l@103.209.42.141:27017/navigatorDB?authSource=admin
|
||||
PASS_PHASE=18b1e091097da0eac9764f65dea470bf6a46b3f3fb693627a11cff8353efb007
|
||||
|
||||
Reference in New Issue
Block a user