Bläddra i källkod

use the nodebb-plugin-emailer-local instead

Girish Ramakrishnan 8 år sedan
förälder
incheckning
0898d285b4
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      Dockerfile
  2. 1 1
      start.sh

+ 1 - 1
Dockerfile

@@ -8,7 +8,7 @@ WORKDIR /app/code
 RUN curl -L https://github.com/NodeBB/NodeBB/archive/v1.4.0.tar.gz | tar -xz --strip-components 1 -f -
 ADD config.json.template /app/code
 RUN npm install --production
-RUN npm install nodebb-plugin-emailer-local-bobo
+RUN npm install nodebb-plugin-emailer-local
 RUN mv /app/code/node_modules /app/code/node_modules_copy
 RUN ln -s /run/nodebb/node_modules /app/code/node_modules
 

+ 1 - 1
start.sh

@@ -85,7 +85,7 @@ ${mongo_cli} --eval "db.objects.update({ _key: \"settings:emailer-local\" }, { \
 
 ${mongo_cli} --eval "db.objects.update({ _key: \"config\" }, { \$set: { \"email:from\": \"${MAIL_FROM}\", \"email:from_name\": \"NodeBB\" } }, { upsert: true })"
 
-${mongo_cli} --eval "db.objects.update({ _key: \"plugins:active\" }, { \$set: { \"value\": \"nodebb-plugin-emailer-local-bobo\", \"score\": \"0\" } }, { upsert: true })"
+${mongo_cli} --eval "db.objects.update({ _key: \"plugins:active\" }, { \$set: { \"value\": \"nodebb-plugin-emailer-local\", \"score\": \"0\" } }, { upsert: true })"
 
 echo "Starting nodebb"
 /usr/local/bin/gosu cloudron:cloudron node /app/code/loader.js --no-daemon --no-silent